Sha256: 67e796c0eaead035be1f7dea40baa16a4bc82d887ca9ad60d3915a6ebc20f13f

Contents?: true

Size: 734 Bytes

Versions: 14

Compression:

Stored size: 734 Bytes

Contents

<%- if resources_instance_variable.any? -%>
<table class="list" id="<%= resources_name %>_list">
	<tr>
		<%- resource_attributes.each do |attribute| -%>
		<%- if attribute[:type] == :boolean -%>
		<th class="center">
		<%- elsif attribute[:type] == :integer || attribute[:type] == :float || attribute[:type] == :decimal -%>
		<th class="right">
		<%- else -%>
		<th>
		<%- end -%>
			<%= resource_model.human_attribute_name(attribute[:name]) %>
		</th>
		<%- end -%>
		<th class="tools"></th>
	</tr>
	<%= render_resources %>
</table>
<%- elsif params[:query] -%>
<p><%= t('Nothing found') %></p>
<%- end -%>

<%= render 'alchemy/admin/partials/pagination_links', :items => resources_instance_variable, :scope => resource_url_scope %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
alchemy_cms-2.1.12 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.11 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.9.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.9 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.8.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.8 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.7 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.6 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.5 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.4 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.3 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.2 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1.1 app/views/alchemy/admin/resources/_table.html.erb
alchemy_cms-2.1 app/views/alchemy/admin/resources/_table.html.erb