Sha256: 38c4564d89742e18c01218f04bcddf8d81dd32991475baa7350364caccb46de5

Contents?: true

Size: 523 Bytes

Versions: 4

Compression:

Stored size: 523 Bytes

Contents

  <%%= flexa_table_for @<%= plural_resource_name %>,:actions=>[:show,:edit,:delete] do -%>
    <% columns.each do |col| -%>
      <%% column :<%=col.name%>, :title=>"<%=col.name.humanize%>" %>
    <% end %>
  <%% end -%>

  <%%= flexa_fixed_toolbar "<%= plural_model_name.humanize %>", <%= plural_resource_name %>_path do %>
    <%%= flexa_add_button_to <%= resource_name.camelcase %> %>
    <%%= flexa_search_tool <%= resource_name.camelcase %> %>
    <%%= flexa_will_paginate @<%= plural_resource_name %> %>
  <%% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
flexa_lib-0.5.2 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.5.1 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.5.0 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.3.9 lib/generators/flexa_lib/crud/templates/view_tables.html.erb