Sha256: 72c31278e4bbe16ff398ed0588680d8877cc0da3dc2ca1b415734a06aab28d1b

Contents?: true

Size: 395 Bytes

Versions: 7

Compression:

Stored size: 395 Bytes

Contents

<tr>
	<% if @model.my_admin.can?(:destroy, my_admin_user) %>
		<td class="with-checkbox">
			<%= check_box_tag :remove, object.id %>
		</td>
	<% end %>

	<% @model.my_admin.list_display.each_with_index do |field, index| %>
		<td>
			<%= field_content(@application, @model, field, object) %>
		</td>
	<% end %>

	<%= render model_template(@application, @model, 'actions'), object: object %>
</tr>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
my_admin-0.1.13 app/views/my_admin/models/_item.html.erb
my_admin-0.1.12 app/views/my_admin/models/_item.html.erb
my_admin-0.1.11 app/views/my_admin/models/_item.html.erb
my_admin-0.1.10 app/views/my_admin/models/_item.html.erb
my_admin-0.1.9 app/views/my_admin/models/_item.html.erb
my_admin-0.1.8 app/views/my_admin/models/_item.html.erb
my_admin-0.1.7 app/views/my_admin/models/_item.html.erb