Sha256: b6f6803be56038eb4ec495f8bb3c5db8749fa123678b48669a580c90b03feec8

Contents?: true

Size: 406 Bytes

Versions: 3

Compression:

Stored size: 406 Bytes

Contents

= render 'effective/<%= resource.plural_name %>/layout' do
  %table.table
    %tbody
<% resource.belong_tos.each do |reference| -%>
      %tr
        %th <%= reference.name.to_s.titleize %>
        %td= <%= resource.name %>.<%= reference.name %>
<% end -%>
<% attributes.each do |name, (type, _)| -%>
      %tr
        %th <%= name.to_s.titleize %>
        %td= <%= resource.name %>.<%= name %>
<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
effective_developer-0.6.17 lib/scaffolds/effective/views/_resource.html.haml
effective_developer-0.6.16 lib/scaffolds/effective/views/_resource.html.haml
effective_developer-0.6.15 lib/scaffolds/effective/views/_resource.html.haml