Sha256: 18878ae42fa242f9147044f193603ae128d211189f9096f252638d630ba0d50a

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

%table
  %thead
    %tr
      <%- for attribute in attributes -%>
      %th <%= attribute.column.human_name %>
      <%- end -%>
  %tbody{:id => "<%= plural_name %>" }
    = render :partial => "<%= singular_name %>", :collection => <%= plural_name %>

<%- if actions? :new -%>
%p= link_to "New <%= singular_name.titleize %>", new_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>), :class => "button <%= options[:ajaxify] ? 'dialog_link' : '' %>"

<%- end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
twilson63-nifty-generators-0.3.4 rails_generators/nifty_nested_scaffold/templates/views/haml/_items.html.haml