Mercurial > hg > soundsoftware-site
diff app/views/auth_sources/edit.html.erb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
line wrap: on
line diff
--- a/app/views/auth_sources/edit.html.erb Fri Jun 14 09:07:32 2013 +0100 +++ b/app/views/auth_sources/edit.html.erb Fri Jun 14 09:28:30 2013 +0100 @@ -1,6 +1,6 @@ <h2><%=l(:label_auth_source)%> (<%= h(@auth_source.auth_method_name) %>)</h2> -<%= form_tag({:action => 'update', :id => @auth_source}, :method => :put, :class => "tabular") do %> - <%= render :partial => auth_source_partial_name(@auth_source) %> +<%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_source_path(@auth_source), :html => {:id => 'auth_source_form'} do |f| %> + <%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %> <%= submit_tag l(:button_save) %> <% end %>