Sha256: d58126787ac1828ea9c0a31ae3ae5d348ed7890c3fe6ec72715dc7fe883feb95

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

<% index = reference.applicant_answer_sheet_id -%>

<h3><%= h reference.title %></h3>

<ul class="questions">
<li>
  <label for="<%= "name_#{index}" %>" class="desc">Name</label>
  <%= text_field_tag "references[#{index}][name]", reference.name, :class => 'text required', :id => "name_#{index}" %>
</li>
<li>
  <label for="<%= "email_#{index}" %>" class="desc">E-mail</label>
  <% if (!reference.email.blank?) %><div class="warningText">Please be aware that any changes to this email address after your reference has started filling out their form will cause their answers to be lost.</div><% end %>
  <%= text_field_tag "references[#{index}][email]", reference.email, :class => 'text required validate-email', :id => "email_#{index}" %>
</li>
<li>
  <label for="<%= "phone_#{index}" %>" class="desc">Phone</label>
  <%= text_field_tag "references[#{index}][phone]", reference.phone, :class => 'text required validate-phone', :id => "phone_#{index}" %>
</li>
<li>
  <label for="<%= "months_known_#{index}" %>" class="desc">Length of acquaintance</label>
  <%= select_tag "references[#{index}][months_known]", 
        options_for_select([""] + Fe::ReferencePagesController::MONTHS_KNOWN_OPTIONS, reference.months_known), 
        :class => 'select validate-selection', 
        :id => "months_known[#{index}]" %>
</li>
<li><p>An invitation will be sent to this reference when you submit your application.  If you would
	like to get a headstart, please feel free to click 'Send Email Invitation' below.</p></li>

<li><%= submit_tag 'Send Email Invitation' %>
	Invitation last sent: <span id="ref_last_sent_<%= reference.id %>"><% unless reference.email_sent_at.nil? -%><%= reference.email_sent_at.strftime("%m/%d/%Y @ %I:%M%p") %><% end -%></span></li>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fe-0.0.4 app/views/fe/reference_pages/_reference.html.erb