Revision 1340:6aea63dac36e app

View differences:

app/views/users/_form.html.erb
1
<%= javascript_include_tag "ssamr_institutions" %>
2

  
1
<% content_for :header_tags do %>
2
  <%= javascript_include_tag "ssamr_institutions" %>
3
<% end %>
3 4

  
4 5
<%= error_messages_for 'user' %>
5 6

  
......
27 28

  
28 29
<div class="box tabular">
29 30
	<h3><%=l(:label_ssamr_details)%></h3>
30
          <%= labelled_fields_for :ssamr_user_details do |ssamr_user_detail| %>
31
          <%= labelled_fields_for :ssamr_user_detail, @user.ssamr_user_detail do |ssamr_user_detail| %>
31 32
            <p>
32
              <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit'  %>                            
33
              <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit'  %>
33 34
            </p>
34 35

  
35 36
            <p><label for="institution"><%=l("field_ssamr_user_detail.institution")%> <span class="required">*</span></label>

Also available in: Unified diff