Sha256: 9bb8cc631cf57869545510cde4db1a717bb1e6f5db1b0c621c171f25bad0f39a

Contents?: true

Size: 533 Bytes

Versions: 2

Compression:

Stored size: 533 Bytes

Contents

- titles link_to('<%= sco_titleized_plural %>', admin_<%= sco_underscored_plural %>_path), @<%= sco_underscored %>

- toggle_show_edit 'Edit', :admin, @<%= sco_underscored %>
<% if has_child? -%>
  
  
%h5 <%= sco_child_titleized_plural %>

%p= link_to('Add new <%= sco_child_humanized %>', new_admin_<%= sco_underscored %>_<%= sco_child_underscored %>_path(@<%= sco_underscored %>))

= render :partial => 'shared/<%= sco_child_underscored_plural %>', :object => @<%= sco_underscored %>.<%= sco_child_underscored_plural %>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schofield-0.0.8 generators/schofield_controller/templates/unnested/show.rb
schofield-0.0.7 generators/schofield_controller/templates/unnested/show.rb