Sha256: 9349882b05af1162bf1fb25a1c590262b41de708de1ecb7bddba6de81a12675c
Contents?: true
Size: 1.78 KB
Versions: 8
Compression:
Stored size: 1.78 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("%Y-%m-%d @ %I:%M%p") %><% end -%></span></li> </ul>
Version data entries
8 entries across 5 versions & 1 rubygems