Sha256: eed03e033a0e850e1884aa447eea0f7f6a85a07d32e1903d1c429d91e4b9fe7f
Contents?: true
Size: 794 Bytes
Versions: 9
Compression:
Stored size: 794 Bytes
Contents
<%- if resources_instance_variable.any? -%> <table class="list" id="<%= resource_handler.resources_name %>_list"> <tr> <%- resource_handler.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_handler.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_proxy %>
Version data entries
9 entries across 9 versions & 1 rubygems