Sha256: 0fd73f261e07e05a29f4b3e2c4a5ab2d263ef1c671c3eee06fbbd7ff6df057c2

Contents?: true

Size: 510 Bytes

Versions: 6

Compression:

Stored size: 510 Bytes

Contents

<div>
  <%%= link_to <%= index_helper %>_path, class: 'waves-effect waves-light btn' do %>
    Back
  <%% end %>
  <%%= link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: 'waves-effect waves-light btn' do %>
    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

6 entries across 6 versions & 1 rubygems

Version Path
r5-0.5.0.0 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.4.0.5 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.4.0.4 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.4.0.2 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.4.0.1 lib/r5/template/lib/templates/erb/scaffold/show.html.erb
r5-0.4.0.0 lib/r5/template/lib/templates/erb/scaffold/show.html.erb