Sha256: df084ccf8dfba491c3de7b834bd52091209ff24ea7431c7efd10b77f6bc64ed5

Contents?: true

Size: 1004 Bytes

Versions: 4

Compression:

Stored size: 1004 Bytes

Contents

<% content_for :javascript do %>
  $(function() {
     $(".invitation_form").validate();
  });
<% end %>

<div class="space_center"></div>

<h2><%=t('invitation.other')%></h2>

<%= form_tag invitations_path, :method=> :post, :class => "invitation_form", :remote => true  do %>
  <div class="block">   
    <h3 class= "form_row"><%=t('invitation.join', :site => t('site.name'))%></h3>
    <div class="form_row form_label ">
      <%= label_tag t('invitation.e-mails')%>
      <span class= "form_comment">(Separated by commas)</span>
    </div>

    <div class="form_row">
      <%= text_field_tag 'mails', nil, :class => "required emails form_tag" %>
    </div>  
    <div class="form_row form_label">
      <%=t('invitation.text')%>
    </div>
    <div class="form_row">
      <%= text_area_tag 'message', nil, :class => "form_tag", :maxlength => 500, :rows => 10 %>
    </div>
  </div>
  
  <div class="form_row space_center">
    <%= submit_tag t('action.send'), :class => "button" %>
  </div>
<%end%>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
social_stream-0.11.1 base/app/views/invitations/_new.html.erb
social_stream-base-0.9.16 app/views/invitations/_new.html.erb
social_stream-0.11.0 base/app/views/invitations/_new.html.erb
social_stream-base-0.9.15 app/views/invitations/_new.html.erb