Sha256: 9f9397daaf6589411cb3966a40b437f8244bd2e24f59bdb65d02d2c41ab1ca87

Contents?: true

Size: 486 Bytes

Versions: 14

Compression:

Stored size: 486 Bytes

Contents

  <%%= flexa_table_for @<%= plural_resource_name %> do -%>
    <% columns.each do |col| -%>
      <%% column :<%=col.name%>, :title=>"<%=col.name.capitalize%>" %>
    <% end %>
  <%% end -%>

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flexa_lib-0.2.9 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.6 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.5 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.4 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.3 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.2 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.1 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.2.0 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.1.21 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.1.20 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.1.19 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.1.18 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.1.17 lib/generators/flexa_lib/crud/templates/view_tables.html.erb
flexa_lib-0.1.16 lib/generators/flexa_lib/crud/templates/view_tables.html.erb