diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-26 19:56:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-26 19:56:25 +0000 |
commit | 845460b16525dc350a12a9f1bde2109caa1a53b6 (patch) | |
tree | 746f9b896bc13b3165c4507652adfe8294fa3efc /app/views/auth_sources | |
parent | 7c27fb7c1d9866f68b9e444cd3af68256cdc637a (diff) | |
download | redmine-845460b16525dc350a12a9f1bde2109caa1a53b6.tar.gz redmine-845460b16525dc350a12a9f1bde2109caa1a53b6.zip |
deprecated start_form_tag replaced by form_tag
git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/auth_sources')
-rw-r--r-- | app/views/auth_sources/edit.rhtml | 4 | ||||
-rw-r--r-- | app/views/auth_sources/new.rhtml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/auth_sources/edit.rhtml b/app/views/auth_sources/edit.rhtml index 149463e7f..165fd4f3e 100644 --- a/app/views/auth_sources/edit.rhtml +++ b/app/views/auth_sources/edit.rhtml @@ -1,7 +1,7 @@ <h2><%=l(:label_auth_source)%> (<%= @auth_source.auth_method_name %>)</h2> -<%= start_form_tag({:action => 'update', :id => @auth_source}, :class => "tabular") %> +<% form_tag({:action => 'update', :id => @auth_source}, :class => "tabular") do %> <%= render :partial => 'form' %> <%= submit_tag l(:button_save) %> -<%= end_form_tag %> +<% end %> diff --git a/app/views/auth_sources/new.rhtml b/app/views/auth_sources/new.rhtml index 29d66327b..2d493dc3a 100644 --- a/app/views/auth_sources/new.rhtml +++ b/app/views/auth_sources/new.rhtml @@ -1,6 +1,6 @@ <h2><%=l(:label_auth_source_new)%> (<%= @auth_source.auth_method_name %>)</h2> -<%= start_form_tag({:action => 'create'}, :class => "tabular") %> +<% form_tag({:action => 'create'}, :class => "tabular") do %> <%= render :partial => 'form' %> <%= submit_tag l(:button_create) %> -<%= end_form_tag %> +<% end %> |