Sha256: 7c9eda2d3e6655b6979871bbdf2c7d4ecf89ae00c4788eafeb99e09e70ab68f2

Contents?: true

Size: 1.21 KB

Versions: 14

Compression:

Stored size: 1.21 KB

Contents

<%= content_tag(:tr, :id => dom_id(record)) do -%>
  <td class="check-block"><%= check_box_tag dom_id(record, :editable), record.id, false, :name => :editable %></td>
  <td><%= link_to record.send(abstract_model.config.object_label_method), show_model_path(abstract_model, record), :class=>"title" %></td>
  
  <% abstract_model.list.fields.each do |field| -%>
	  <td><%= manage_render_field(field, record)%></td>
	<% end -%>
  
	<td>
		<div class="rel">
		  <div class="buts" style="display: none;">
        <div class="act-but">
          <%= link_to image_tag('sunrise/empty.gif'), delete_path(abstract_model.parent_hash.merge(:id => record.id)), 
            :method=>:delete, 
            :data => { :confirm => t("manage.confirm_delete") }, 
            :class=>"but-container del", 
            :id => dom_id(record, :delete) if can?(:delete, record, :context => :sunrise)%>
        </div>
        <div class="act-but">
          <%= link_to image_tag('sunrise/empty.gif'), 
            edit_path(abstract_model.parent_hash.merge(:id => record.id)), 
            :class=>"but-container edit", 
            :id => dom_id(record, :edit) if can?(:edit, record, :context => :sunrise) %>
        </div>
		  </div>
		</div>
	</td>
<% end -%>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
sunrise-cms-1.1.1 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.1.0 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.6 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.5 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.4 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.3 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.2 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.1 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.0 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.0.rc3 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.0.rc2 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-1.0.0.rc1 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-0.7.0.rc2 app/views/sunrise/manager/table/_record.html.erb
sunrise-cms-0.7.0.rc1 app/views/sunrise/manager/table/_record.html.erb