Revision 1459:cf78a7ade302
| app/views/account/register.html.erb | ||
|---|---|---|
| 22 | 22 |
<p><%= f.text_field :lastname, :required => true %></p> |
| 23 | 23 |
<p><%= f.text_field :mail, :required => true %></p> |
| 24 | 24 |
|
| 25 |
<!-- We only support English in this site
|
|
| 25 |
<!-- We only support English in this site |
|
| 26 | 26 |
<p><%= f.select :language, lang_options_for_select %></p> |
| 27 | 27 |
--> |
| 28 |
|
|
| 28 |
|
|
| 29 | 29 |
<%= labelled_fields_for :ssamr_user_details, @ssamr_user_details do |fields| %> |
| 30 | 30 |
<h3><%=l(:label_ssamr_details)%></h3> |
| 31 |
|
|
| 31 |
|
|
| 32 | 32 |
<p> |
| 33 | 33 |
<%= fields.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> |
| 34 | 34 |
<em> <%=l(:text_user_ssamr_description_info).html_safe%></em> |
| 35 | 35 |
</p> |
| 36 | 36 |
|
| 37 | 37 |
<p><label for="institution"><%=l("field_ssamr_user_detail.institution")%> <span class="required">*</span></label>
|
| 38 |
<%= fields.radio_button :institution_type, true %> |
|
| 38 |
<%= fields.radio_button :institution_type, true, :checked => true %>
|
|
| 39 | 39 |
<%= fields.collection_select(:institution_id, Institution.find(:all, :order => "institutions.order"), :id, :name, {:selected => @selected_institution_id, :prompt => true}).gsub('&', '&').html_safe %>
|
| 40 | 40 |
</p> |
| 41 | 41 |
|
| ... | ... | |
| 44 | 44 |
<%= fields.text_field(:other_institution) %> |
| 45 | 45 |
</p> |
| 46 | 46 |
<% end %> |
| 47 |
|
|
| 47 |
|
|
| 48 | 48 |
|
| 49 | 49 |
<% if Setting.openid? %> |
| 50 | 50 |
<p><%= f.text_field :identity_url %></p> |
Also available in: Unified diff