Sha256: d40453604cf7d25630c6a9632ae22680df21483814e8209e3f39396d7933895d

Contents?: true

Size: 488 Bytes

Versions: 8

Compression:

Stored size: 488 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

8 entries across 8 versions & 1 rubygems

Version Path
happy_seed-0.0.8 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.7 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.6 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.5 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.4 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.3 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.2 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml
happy_seed-0.0.1 lib/generators/happy_seed/bootstrap/templates/lib/templates/haml/scaffold/show.html.haml