Sha256: 91e6ed175d09e539dadc60dd37ecb90e9ee9bec4fc488e397f9e708992cb3ecb

Contents?: true

Size: 549 Bytes

Versions: 2

Compression:

Stored size: 549 Bytes

Contents

<h1><%%=title t('.title') %></h1>
<%%= render @<%= singular_name %> %>
<p>
<%- if is_action_included? :edit -%>
  <%%= link_to t('<%= plural_name %>.edit.title'), edit_<%= singular_name %>_path(@<%= singular_name %>) %> |
<%- end -%>
<%- if is_action_included? :destroy -%>
  <%%= link_to t('<%= plural_name %>.destroy.title'), @<%= singular_name %>, :confirm => 'Are you sure?', :method => :delete %><%- end -%> |
<%- if is_action_included? :index -%>
  <%%= link_to t('<%= plural_name %>.index.title'), <%= plural_name %>_path %>
<%- end -%>
</p>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jfs-generators-0.2.4 rails_generators/jfs_scaffold/templates/views/show.html.erb
jfs-generators-0.2.3 rails_generators/jfs_scaffold/templates/views/show.html.erb