orbit-4-2/app/views/admin/designs/_design.html.erb

20 lines
745 B
Plaintext
Raw Normal View History

2014-01-29 04:33:09 +00:00
<tr>
<td class="detail-row">
<h5 class="mt_title">
<span><%= design.title %></span>
</h5>
</td>
<td>
<p class="mt_dev"><%= design.author %></p>
</td>
<td>
<div class="quick-edit">
<ul class="nav nav-pills">
<li><%= link_to t(:edit), edit_admin_design_path(design), :class => 'edit' %></li>
<li class="dropdown"><%= link_to t(:delete_), admin_design_path(design), :confirm => t('sure?'), :method => :delete, :class => 'delete' %></li>
</ul>
</div>
</td>
2014-01-29 04:33:09 +00:00
<td class="active"><%= radio_button_tag 'design_default', design.id, (@site.design && @site.design.id.to_s.eql?(design.id.to_s) ? true : false), :class => 'design_default toggle-check', :rel => admin_sites_path %></td>
</tr>