Sha256: a40673aa591696140f62256735765836b4ef7927a62073a74773986256c89b1f

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

- toggle_show_edit 'Edit', :admin, @<%= sco_underscored %>
<% sco_children.each do |child| -%>
  
  
%h5 <%= child[:titleized_plural] %>

%p= link_to('Add new <%= child[:humanized] %>', new_admin_<%= sco_underscored %>_<%= child[:underscored] %>_path(@<%= sco_underscored %>))

= render :partial => 'shared/<%= child[:underscored_plural] %>', :object => @<%= sco_underscored %>.<%= child[:underscored_plural] %>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schofield-0.1.2 generators/schofield_controller/templates/unnested/show.rb
schofield-0.1.1 generators/schofield_controller/templates/unnested/show.rb