Sha256: ec475d22f6e1cf3b13e279a5b790d57eac2bf6fd994596997016cdb27780b635

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

<%%= ui_icon_header '<%= singular_table_name.titleize %>', 'info' %>

<% attributes.reject(&:password_digest?).each do |attribute| -%>
  <p>
    <strong><%= attribute.human_name %>:</strong>
    <%%= @<%= singular_table_name %>.<%= attribute.name %> %>
  </p>

<% end -%>
<%%= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>), class: 'ui tiny compact basic button' %>
<%%= link_to 'Edit', <%= index_helper %>_path, class: 'ui tiny compact basic button' %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
semantic-rails-ui-0.0.15 lib/templates/erb/scaffold/show.html.erb
semantic-rails-ui-0.0.14 lib/templates/erb/scaffold/show.html.erb
semantic-rails-ui-0.0.13 lib/templates/erb/scaffold/show.html.erb