Sha256: bcd0b329748a0a46b1dc808aa54c0608394331fe8b5c6ecd37cd8b834486f05c

Contents?: true

Size: 788 Bytes

Versions: 30

Compression:

Stored size: 788 Bytes

Contents

<tr class="<%= cycle('even', 'odd') %>">
<% resource_handler.attributes.each do |attribute| %>
  <td class="<%= attribute[:type] %> <%= attribute[:name] %>">
  <% if attribute[:type] == :boolean %>
    <%= resource.public_send(attribute[:name]) ? render_icon(:check) : nil %>
  <% else %>
    <%= render_attribute(resource, attribute) %>
  <% end %>
  </td>
<% end %>
  <td class="tools">
  <% if can?(:destroy, resource) %>
    <%= delete_button resource_path(resource, search_filter_params) %>
  <% end %>
  <% if can?(:edit, resource) %>
    <%= link_to_dialog render_icon(:edit),
      edit_resource_path(resource, search_filter_params),
      {
        title: Alchemy.t('Edit'),
        size: resource_window_size
      },
      title: Alchemy.t('Edit') %>
  <% end %>
  </td>
</tr>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
alchemy_cms-4.6.7 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.6 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.5 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.5.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.4.5 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.4 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.3 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.2 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.6.0 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.5.0 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.4.4 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.4.3 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.4.2 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.4.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.4.0 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.3.2 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.2.4 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.3.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-4.2.3 app/views/alchemy/admin/resources/_resource.html.erb