summaryrefslogtreecommitdiffstats
path: root/app/views/enumerations/list.rhtml
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-12 17:59:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-12 17:59:02 +0000
commit027bf93849e82ef3c60e4a3024db49d65f0fb3c9 (patch)
treec6bc438fcd50370944b94f605b3f34fe54b73248 /app/views/enumerations/list.rhtml
parent071f8e18d02f789149071abb8e052bae7ad01003 (diff)
downloadredmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.tar.gz
redmine-027bf93849e82ef3c60e4a3024db49d65f0fb3c9.zip
added svn:eol-style native property on /app files
git-svn-id: http://redmine.rubyforge.org/svn/trunk@333 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/enumerations/list.rhtml')
-rw-r--r--app/views/enumerations/list.rhtml32
1 files changed, 16 insertions, 16 deletions
diff --git a/app/views/enumerations/list.rhtml b/app/views/enumerations/list.rhtml
index 18508125f..f7756ce30 100644
--- a/app/views/enumerations/list.rhtml
+++ b/app/views/enumerations/list.rhtml
@@ -1,19 +1,19 @@
<h2><%=l(:label_enumerations)%></h2>
&nbsp;
-<% Enumeration::OPTIONS.each do |option, name| %>
-
- <% if params[:opt]==option %>
-
- <h3><%= l(name) %></h3>
- <ul>
- <% for value in Enumeration.find(:all, :conditions => ["opt = ?", option]) %>
- <li><%= link_to value.name, :action => 'edit', :id => value %></li>
- <% end %>
- </ul>
- <p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option }, :class => "icon icon-add" %></p>&nbsp;
-
- <% else %>
- <h3><%= link_to l(name), :opt => option %></h3>
- <% end %>
-
+<% Enumeration::OPTIONS.each do |option, name| %>
+
+ <% if params[:opt]==option %>
+
+ <h3><%= l(name) %></h3>
+ <ul>
+ <% for value in Enumeration.find(:all, :conditions => ["opt = ?", option]) %>
+ <li><%= link_to value.name, :action => 'edit', :id => value %></li>
+ <% end %>
+ </ul>
+ <p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option }, :class => "icon icon-add" %></p>&nbsp;
+
+ <% else %>
+ <h3><%= link_to l(name), :opt => option %></h3>
+ <% end %>
+
<% end %> \ No newline at end of file