Sha256: 8eff15ad49c31f0b41aa5e44923fc8920889e656193fdc2ed32daa9faf92435a
Contents?: true
Size: 793 Bytes
Versions: 20
Compression:
Stored size: 793 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
20 entries across 20 versions & 1 rubygems