Sha256: 9ae273d9311d02a1cccfaff9267ed5347abc87b332a7158018c4888504b29716

Contents?: true

Size: 1.01 KB

Versions: 17

Compression:

Stored size: 1.01 KB

Contents

<tr class="<%= cycle('even', 'odd') %>">
<% resource_handler.attributes.each do |attribute| %>
  <td class="<%= attribute[:type] %> <%= attribute[:name] %>">
  <% if attribute[:type] == :boolean %>
    <%= render_icon render_attribute(resource, attribute) %>
  <% else %>
    <%= render_attribute(resource, attribute) %>
  <% end %>
  </td>
<% end %>
  <td class="tools">
    <% permitted_to?(:destroy, resource_permission_scope) do %>
    <%= link_to_confirmation_window(
      '',
      _t("Are you sure?"),
      resource_path(resource),
      :title => _t("Delete"),
      :class => "icon destroy",
      :id => "delete_#{resource_handler.resource_name}_#{resource.id}"
    ) %>
    <% end %>
    <% permitted_to?(:edit, resource_permission_scope) do %>
    <%= link_to_overlay_window(
      '',
      edit_resource_path(resource),
      {
        :title => _t("Edit"),
        :size => resource_window_size
      },
      {
        :class => "icon edit",
        :title => _t("Edit")
      }
    ) %>
    <% end %>
  </td>
</tr>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
alchemy_cms-2.9.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.9.0 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.8.3 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/resources/_resource.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/resources/_resource.html.erb