Sha256: cb8df91c8dd2cd7120c6b20436ca8428e8b318555d3addb9f6c432ae57e2fb17

Contents?: true

Size: 606 Bytes

Versions: 7

Compression:

Stored size: 606 Bytes

Contents

<div class="breadcrumb">
  <div class="page-header">
    <h2><%= class_name %> details</h2>
  </div>

  <% attributes.each do |attribute| -%>
  <div class="row">
    <div class="span1">
      <strong><%= attribute.human_name %></strong>
    </div>
    <div class="span8">
  	  <%%= @<%= singular_table_name %>.<%= attribute.name %> %>
    </div>
  </div>
  <% end -%>
</div>

<div class="breadcrumb">
  <%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn btn-primary' %>
  <%%= link_to 'Back', <%= index_helper %>_path, class: 'btn btn-default' %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap2-rails-0.0.7 lib/templates/erb/scaffold/show.html.erb
bootstrap2-rails-0.0.6 lib/templates/erb/scaffold/show.html.erb
bootstrap2-rails-0.0.5 lib/templates/erb/scaffold/show.html.erb
bootstrap2-rails-0.0.4 lib/templates/erb/scaffold/show.html.erb
bootstrap2-rails-0.0.3 lib/templates/erb/scaffold/show.html.erb
bootstrap2-rails-0.0.2 lib/templates/erb/scaffold/show.html.erb
bootstrap2-rails-0.0.1 lib/templates/erb/scaffold/show.html.erb