Sha256: 4668959e4b4236820e0821cf4cb5a9509c43c93204441b068bbb23790786b310

Contents?: true

Size: 1014 Bytes

Versions: 1

Compression:

Stored size: 1014 Bytes

Contents

<td>
  <%%= check_box_tag "ids[]", <%= singular_table_name %>.id, false, {:id =>"check#{<%= singular_table_name %>.id}", :class => "selectable"} %>
  <%%= number_with_delimiter <%= singular_table_name %>.id %>
</td>
<%- attributes.each do |attribute| -%>
<td><%= attribute_to_erb(attribute, singular_table_name) -%></td>
<%- end -%>
<!-- Manage section, do not remove this tag -->
<td><%%= link_to t(:show), <%= show_resource_path %><%= ", :remote => remote" if jquery_ui? %> %></td>
<%- if authorization? -%>
<%%- if can? :update, <%= singular_table_name %> -%>
<%- end -%>
<td><%%= link_to t(:edit), <%= edit_resource_path %> %></td>
<%- if authorization? -%>
<%%- end -%>
<%- end -%>
<%- if authorization? -%>
<%%- if can? :destroy, <%= singular_table_name %> -%>
<%- end -%>
<td><%%= link_to t(:destroy), <%= destroy_resource_path %>, <%= key_value :confirm, "t(:sure?)" %>, <%= key_value :method, ":delete" %>, :remote => remote %></td>
<%- if authorization? -%>
<%%- end -%>
<%- end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leonardo-1.9.0.beta1 lib/generators/erb/leosca/templates/_row_index.html.erb