Sha256: 2dea97cefca9796709e655ee368e49be335b5123642804a6701270e0557b0523

Contents?: true

Size: 439 Bytes

Versions: 7

Compression:

Stored size: 439 Bytes

Contents

<div class="page-header">
  <%%= link_to 'Back', <%= index_helper %>_path, :class => 'btn' %>
  <%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), :class => 'btn primary' %>
  <h1>Listing <%= plural_table_name %></h1>
</div>

<dl>
  <%- attributes.each do |attribute| -%>
  <dt><%= attribute.human_name %>:</dt>
  <dd><%%= @<%= singular_table_name %>.<%= attribute.name %> %></dd>

  <%- end -%>
</dl>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootstrap-generators-1.4.0 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-1.0.1 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-1.0.0 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-0.0.6 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-0.0.5 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-0.0.4 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-0.0.3 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb