]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/roles/new.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 25 Aug 2011 00:38:43 +0000 (00:38 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 25 Aug 2011 00:38:43 +0000 (00:38 +0000)
: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@6607 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/roles/new.html.erb [new file with mode: 0644]
app/views/roles/new.rhtml [deleted file]

diff --git a/app/views/roles/new.html.erb b/app/views/roles/new.html.erb
new file mode 100644 (file)
index 0000000..fb3e96f
--- /dev/null
@@ -0,0 +1,6 @@
+<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%=l(:label_role_new)%></h2> 
+
+<% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %>
+<%= render :partial => 'form', :locals => { :f => f } %>
+<%= submit_tag l(:button_create) %>
+<% end %>
\ No newline at end of file
diff --git a/app/views/roles/new.rhtml b/app/views/roles/new.rhtml
deleted file mode 100644 (file)
index fb3e96f..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<h2><%= link_to l(:label_role_plural), :controller => 'roles', :action => 'index' %> &#187; <%=l(:label_role_new)%></h2> 
-
-<% labelled_tabular_form_for :role, @role, :url => { :action => 'new' }, :html => {:id => 'role_form'} do |f| %>
-<%= render :partial => 'form', :locals => { :f => f } %>
-<%= submit_tag l(:button_create) %>
-<% end %>
\ No newline at end of file