lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb in bootstrap-generators-2.3.2 vs lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb in bootstrap-generators-3.0.0
- old
+ new
@@ -1,17 +1,17 @@
<div class="page-header">
- <%%= link_to <%= index_helper %>_path, :class => 'btn' do %>
- <i class="icon-list-alt"></i>
+ <%%= link_to <%= index_helper %>_path, :class => 'btn btn-default' do %>
+ <span class="glyphicon glyphicon-list-alt"></span>
Back
<%% end %>
<%%= link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn btn-primary' do %>
- <i class="icon-pencil icon-white"></i>
+ <span class="glyphicon glyphicon-pencil"></span>
Edit
<%% end %>
- <h1>Listing <%= plural_table_name %></h1>
+ <h1>Show <%= singular_table_name %></h1>
</div>
-<dl>
+<dl class="dl-horizontal">
<%- attributes.each do |attribute| -%>
<dt><%= attribute.human_name %>:</dt>
<dd><%%= @<%= singular_table_name %>.<%= attribute.name %> %></dd>
<%- end -%>