app/views/adminpanel/sections/show.html.erb in adminpanel-1.2.12 vs app/views/adminpanel/sections/show.html.erb in adminpanel-2.0.0
- old
+ new
@@ -2,13 +2,13 @@
<% breadcrumb_add('Secciones', sections_path) %>
<div class="row-fluid">
<div class="widget widget-padding span12">
<div class="widget-header">
- <i class="icon-tasks"></i>
+ <i class="fa fa-tasks"></i>
<h5><%= @section.name.humanize %>
- <%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_section_path(@section), :title => "Editar Seccion" %>
+ <%= render 'shared/edit_icon_button', resource: @section, resource_name: @model.display_name %>
</h5>
</div>
<div class="widget-body row-fluid">
<div class="span2">
@@ -26,6 +26,6 @@
<%= image_tag(image.file_url :thumb) %>
<% end %>
</div>
</div>
</div>
-</div>
\ No newline at end of file
+</div>