diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-25 17:17:49 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-25 17:17:49 +0000 |
commit | 5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7 (patch) | |
tree | 93e57765139714bd82dede475725516c448c0d55 /app/views/enumerations | |
parent | 34e20c4373b7f5a20ab3a132feae3f70f21ec477 (diff) | |
download | redmine-5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7.tar.gz redmine-5e57a1a9d9478162ac4f27ae96b2ccaf55a1aba7.zip |
Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/enumerations')
-rw-r--r-- | app/views/enumerations/destroy.html.erb | 2 | ||||
-rw-r--r-- | app/views/enumerations/edit.html.erb | 2 | ||||
-rw-r--r-- | app/views/enumerations/new.html.erb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/enumerations/destroy.html.erb b/app/views/enumerations/destroy.html.erb index 4fca33d4a..02e66bd9f 100644 --- a/app/views/enumerations/destroy.html.erb +++ b/app/views/enumerations/destroy.html.erb @@ -1,6 +1,6 @@ <h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2> -<% form_tag({}, :method => :delete) do %> +<%= form_tag({}, :method => :delete) do %> <div class="box"> <p><strong><%= l(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p> <p><label for='reassign_to_id'><%= l(:text_enumeration_category_reassign_to) %></label> diff --git a/app/views/enumerations/edit.html.erb b/app/views/enumerations/edit.html.erb index c46a7606f..e5c523390 100644 --- a/app/views/enumerations/edit.html.erb +++ b/app/views/enumerations/edit.html.erb @@ -1,6 +1,6 @@ <h2><%= link_to l(@enumeration.option_name), enumerations_path %> » <%=h @enumeration %></h2> -<% labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %> +<%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %> <%= render :partial => 'form', :locals => {:f => f} %> <%= submit_tag l(:button_save) %> <% end %> diff --git a/app/views/enumerations/new.html.erb b/app/views/enumerations/new.html.erb index f0e6bd343..dfbd99f52 100644 --- a/app/views/enumerations/new.html.erb +++ b/app/views/enumerations/new.html.erb @@ -1,6 +1,6 @@ <h2><%= link_to l(@enumeration.option_name), enumerations_path %> » <%=l(:label_enumeration_new)%></h2> -<% labelled_form_for :enumeration, @enumeration, :url => enumerations_path do |f| %> +<%= labelled_form_for :enumeration, @enumeration, :url => enumerations_path do |f| %> <%= f.hidden_field :type %> <%= render :partial => 'form', :locals => {:f => f} %> <%= submit_tag l(:button_create) %> |