Permalink
Browse files

Corrig typo en la plantilla de index

  • Loading branch information...
1 parent a420bb3 commit 7c660f192ae71208648dff6ba5a4ef322c66bf5d @movihus committed Feb 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/templates/erb/scaffold/index.html.erb
@@ -26,8 +26,8 @@
<div class="btn-group">
<%= link_to 'Acciones <b class="caret"></b>'.html_safe, '#', :class => 'btn btn-primary dropdown-toggle', 'data-toggle' => 'dropdown' %>
<ul id="menu1" class="dropdown-menu">
- <li><%= link_to '<i class="icon-pencil"></i> Editar'.html_safe, edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %></li>
- <li><%= link_to '<i class="icon-trash"></i> Eliminar'.html_safe, <%= singular_table_name %>, confirm: '¿Está seguro de eliminar este registro?. Esta acción no se puede deshacer', method: :delete %></li>
+ <li><%%= link_to content_tag(:i, 'Editar', :class => 'icon-pencil'), edit_<%= singular_table_name %>_path(<%= singular_table_name %>) %></li>
+ <li><%%= link_to content_tag(:i, 'Eliminar', :class => 'icon-trash'), <%= singular_table_name %>, confirm: '¿Está seguro de eliminar este registro?. Esta acción no se puede deshacer', method: :delete %></li>
</ul>
</div>

0 comments on commit 7c660f1

Please sign in to comment.