Sha256: 1af0d2a63924e3297fe5fe0839d4495a82f3c26667cd9c42587662e3c9f6c051

Contents?: true

Size: 612 Bytes

Versions: 14

Compression:

Stored size: 612 Bytes

Contents

<div class="page-header">
  <%%= 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 %>
    <span class="glyphicon glyphicon-pencil"></span>
    Edit
  <%% end %>
  <h1>Show <%= singular_table_name %></h1>
</div>

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

  <%- end -%>
</dl>

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
toronto-0.0.4 lib/generators/toronto/install/templates/lib/templates/erb/scaffold/show.html.erb
r5-0.3.0.0 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.2.6.2 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.2.6.1 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.2.6.0 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
toronto-0.0.3 lib/generators/toronto/install/templates/lib/templates/erb/scaffold/show.html.erb
toronto-0.0.2 lib/generators/toronto/install/templates/lib/templates/erb/scaffold/show.html.erb
toronto-0.0.1 lib/generators/toronto/install/templates/lib/templates/erb/scaffold/show.html.erb
r5-0.2.5.2 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.2.5 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.2.4 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.2.3 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/bootstrap-generators-3.3.4/lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb
bootstrap-generators-3.3.4 lib/generators/bootstrap/install/templates/lib/templates/erb/scaffold/show.html.erb