From: Toshi MARUYAMA Date: Wed, 24 Aug 2011 07:18:18 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/enumerations/new.rhtml. X-Git-Tag: 1.3.0~1372 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=89eab37223ea36ff849084f45289b9fa19229165;p=redmine.git rename .rhtml to .html.erb of app/views/enumerations/new.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6589 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/enumerations/new.html.erb b/app/views/enumerations/new.html.erb new file mode 100644 index 000000000..34882834a --- /dev/null +++ b/app/views/enumerations/new.html.erb @@ -0,0 +1,6 @@ +

<%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> » <%=l(:label_enumeration_new)%>

+ +<% form_tag({:action => 'create'}, :class => "tabular") do %> + <%= render :partial => 'form' %> + <%= submit_tag l(:button_create) %> +<% end %> diff --git a/app/views/enumerations/new.rhtml b/app/views/enumerations/new.rhtml deleted file mode 100644 index 34882834a..000000000 --- a/app/views/enumerations/new.rhtml +++ /dev/null @@ -1,6 +0,0 @@ -

<%= link_to l(@enumeration.option_name), :controller => 'enumerations', :action => 'index' %> » <%=l(:label_enumeration_new)%>

- -<% form_tag({:action => 'create'}, :class => "tabular") do %> - <%= render :partial => 'form' %> - <%= submit_tag l(:button_create) %> -<% end %>