Sha256: 875ce1c0eff52145cdc74cd3f3e1f69f0d7865c484faaa45e60a34b5af355ecb

Contents?: true

Size: 470 Bytes

Versions: 6

Compression:

Stored size: 470 Bytes

Contents

<%- if actions.include?('edit') -%>
- toggle_show_edit 'Edit', :admin, @<%= sco_underscored %>
<%- end -%>
<% 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

6 entries across 3 versions & 1 rubygems

Version Path
schofield-0.1.5 generators/schofield_controller/templates/nested/show.rb
schofield-0.1.5 generators/schofield_controller/templates/unnested/show.rb
schofield-0.1.4 generators/schofield_controller/templates/nested/show.rb
schofield-0.1.4 generators/schofield_controller/templates/unnested/show.rb
schofield-0.1.3 generators/schofield_controller/templates/nested/show.rb
schofield-0.1.3 generators/schofield_controller/templates/unnested/show.rb