Adds an helper for displaying the 'checked' image.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3600 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-03-17 20:46:22 +00:00
1 parent 388805ad58
commit f741ca7269
7 files changed
+15 -9

No files matched your search

+2 -2
View File
@@ -16,8 +16,8 @@
<% enumerations.each do |enumeration| %>
<tr class="<%= cycle('odd', 'even') %>">
<td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td>
<td class="center" style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td>
<td class="center" style="width:15%;"><%= image_tag('true.png') if enumeration.active? %></td>
<td class="center" style="width:15%;"><%= checked_image enumeration.is_default? %></td>
<td class="center" style="width:15%;"><%= checked_image enumeration.active? %></td>
<td style="width:15%;"><%= reorder_links('enumeration', {:action => 'update', :id => enumeration}) %></td>
<td class="buttons">
<%= link_to l(:button_delete), { :action => 'destroy', :id => enumeration },