app/views/libraries/index.html.erb in enju_library-0.1.0.pre31 vs app/views/libraries/index.html.erb in enju_library-0.1.0.pre32
- old
+ new
@@ -25,11 +25,11 @@
<%= t('activerecord.attributes.library.telephone_number_2') -%>
</th>
<th>
<%= t('activerecord.attributes.library.fax_number') -%>
</th>
- <th id="edit_icons"></th>
+ <th></th>
</tr>
<%- @libraries.each_with_index do |library, i| -%>
<tr class="line<%= cycle("0", "1") -%>">
<td>
@@ -50,13 +50,13 @@
<%= library.telephone_number_2 -%>
</td>
<td><%= library.fax_number -%></td>
<td>
<%- if can? :update, library -%>
- <%= link_to image_tag('icons/page_white_edit.png', :size => '16x16', :alt => t('page.edit')), edit_library_path(library) -%>
+ <%= link_to t('page.edit'), edit_library_path(library) -%>
<% end %>
<%- if can? :delete, library -%>
- <%= link_to image_tag('icons/delete.png', :size => '16x16', :alt => t('page.destroy')), library, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
+ <%= link_to t('page.destroy'), library, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
<%- end -%>
</td>
</tr>
<%- end -%>
</table>