Sha256: a596a07938dfc06c38c168d1ab15740c5f0cbb66d178c834f7210fa2e73c847e

Contents?: true

Size: 746 Bytes

Versions: 1

Compression:

Stored size: 746 Bytes

Contents

#resultados
  %table.table
    %tr
  <% for attribute in attributes -%>
    %th<%= (attribute == attributes.first) ? ".first" : "" %>= order_by_link :<%= attribute.column.name %>
  <% end -%>
    %th
      %th
      %th.last
    - <%= plural_name %>.each do |<%= singular_name %>|
      %tr
      <%- for attribute in attributes %>
        %td= h <%= singular_name %>.<%= attribute.name %>
      <%- end -%>    
        %td= link_to 'Show', object_url(<%= singular_name %>)
        %td= link_to 'Edit', edit_object_url(<%= singular_name %>)
        %td= link_to 'Destroy', object_url(<%= singular_name %>), :confirm => 'Are you sure?', :method => :delete
  .actions-bar
    .pagination
      = page_links
      = per_page_select
    .clear
      

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lucasefe-multi_helper-0.0.1 generators/full_scaffold/templates/view__collection.haml