Sha256: c78e5b1237551537b59039fe3367ab809a8fd10fff0220348e5d55752a962afa
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
%table.table.table-striped %tr - index_fields.each do |field| %th= field.is_a?(Hash) ? field.keys.first : field %th Actions - items.each do |item| %tr - index_fields.each do |key| %td = formatted_value(item, key) %td = link_to_item(item) = link_to_edit_item(item) if policy(item).update? = render "manage_item", item: item = paginate items = link_to_new_item(model, class: 'btn btn-primary')
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
theblog-0.0.2.3 | app/views/theblog/admin/index.html.haml |
theblog-0.0.2.2 | app/views/theblog/admin/index.html.haml |
theblog-0.0.2.1 | app/views/theblog/admin/index.html.haml |