diff options
Diffstat (limited to 'app/views/enumerations/list.rhtml')
-rw-r--r-- | app/views/enumerations/list.rhtml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/enumerations/list.rhtml b/app/views/enumerations/list.rhtml index 3ae144487..817751ab2 100644 --- a/app/views/enumerations/list.rhtml +++ b/app/views/enumerations/list.rhtml @@ -6,10 +6,18 @@ <% enumerations = klass.all %> <% if enumerations.any? %> <table class="list"> +<tr> + <th><%= l(:field_name) %></th> + <th style="width:15%;"><%= l(:field_is_default) %></th> + <th style="width:15%;"><%= l(:field_active) %></th> + <th style="width:15%;"></th> + <th align="center" style="width:10%;"> </th> +</tr> <% enumerations.each do |enumeration| %> <tr class="<%= cycle('odd', 'even') %>"> <td><%= link_to h(enumeration), :action => 'edit', :id => enumeration %></td> <td style="width:15%;"><%= image_tag('true.png') if enumeration.is_default? %></td> + <td style="width:15%;"><%= image_tag('true.png') if 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 }, |