# HG changeset patch # User luisf # Date 1371736315 -3600 # Node ID 6aea63dac36eeaf56b93f0ae8b03cb7aea3bf19d # Parent c03a6c3c4db96831e43facc33de948295b02c51f Using correct arguments on form builder helper. diff -r c03a6c3c4db9 -r 6aea63dac36e app/views/users/_form.html.erb --- a/app/views/users/_form.html.erb Thu Jun 20 14:34:42 2013 +0100 +++ b/app/views/users/_form.html.erb Thu Jun 20 14:51:55 2013 +0100 @@ -1,5 +1,6 @@ -<%= javascript_include_tag "ssamr_institutions" %> - +<% content_for :header_tags do %> + <%= javascript_include_tag "ssamr_institutions" %> +<% end %> <%= error_messages_for 'user' %> @@ -27,9 +28,9 @@

<%=l(:label_ssamr_details)%>

- <%= labelled_fields_for :ssamr_user_details do |ssamr_user_detail| %> + <%= labelled_fields_for :ssamr_user_detail, @user.ssamr_user_detail do |ssamr_user_detail| %>

- <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %> + <%= ssamr_user_detail.text_area :description, :rows => 3, :cols => 40, :required => true, :class => 'wiki-edit' %>