lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/edit.html.haml in bootstrap-generators-1.4.0 vs lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/edit.html.haml in bootstrap-generators-2.0.0
- old
+ new
@@ -1,6 +1,10 @@
.page-header
- = link_to 'Back', <%= index_helper %>_path, :class => 'btn'
- = link_to 'Show', @<%= singular_table_name %>, :class => 'btn primary'
+ = link_to <%= index_helper %>_path, :class => 'btn' do
+ %i.icon-list-alt
+ Back
+ = link_to @<%= singular_table_name %>, :class => 'btn btn-primary' do
+ %i.icon-info-sign.icon-white
+ Show
%h1 Editing <%= singular_table_name %>
= render 'form'