Sha256: ae4fad208d69cf9179566c8ff5f77dbf55f6287a935b5ef7da69cffb1dd713a2

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

.page-header
  = link_to <%= index_helper %>_path, class: 'btn btn-default' do
    %span.glyphicon.glyphicon-list-alt
    Back
  = link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: 'btn btn-primary' do
    %span.glyphicon.glyphicon-pencil
    Edit
  %h1 Show <%= singular_table_name %>

%dl.dl-horizontal
  <%- for attribute in attributes -%>
  %dt <%= attribute.human_name %>:
  %dd= @<%= singular_table_name %>.<%= attribute.name %>
  <%- end -%>

Version data entries

4 entries across 2 versions & 2 rubygems

Version Path
sc_core-0.0.7 lib/generators/haml/scaffold/templates/show.html.haml
sc_core-0.0.7 test/dummy/lib/templates/haml/scaffold/show.html.haml
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/haml/scaffold/show.html.haml
bootstrap-generators-3.3.4 lib/generators/bootstrap/install/templates/lib/templates/haml/scaffold/show.html.haml