Sha256: 4114e993e2838006401da43f085cae80a274b87f17f5e936c0e156f9cfb949fb
Contents?: true
Size: 1.84 KB
Versions: 4
Compression:
Stored size: 1.84 KB
Contents
<li class='clearfix record <%%= cycle("on", "on-hover") %>' id="<%%= dom_id(<%= singular_name %>) -%>"> <span class='title'> <%%= <%= singular_name %><% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? -%>.<%= title.name %><% else %>.title<%end %> %> <% if localized? %> <%% if Refinery.i18n_enabled? and Refinery::I18n.frontend_locales.many? %> <span class='preview'> <%% <%= singular_name %>.translations.each do |translation| %> <%% if translation.title.present? %> <%%= link_to refinery_icon_tag("flags/#{translation.locale}.png", :size => '16x11'), refinery.edit_<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>, :switch_locale => translation.locale), :class => 'locale' %> <%% end %> <%% end %> </span> <%% end %> <% end %> </span> <span class='actions'> <% unless skip_frontend? %> <%%= link_to refinery_icon_tag("application_go.png"), refinery.<%= namespacing.underscore %>_<%= singular_name %>_path(<%= singular_name %>), :title => t('.view_live_html'), :target => "_blank" %> <% end %> <%%= link_to refinery_icon_tag("application_edit.png"), refinery.edit_<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>), :title => t('.edit') %> <%%= link_to refinery_icon_tag("delete.png"), refinery.<%= namespacing.underscore %>_admin_<%= singular_name %>_path(<%= singular_name %>), :class => "cancel confirm-delete", :title => t('.delete'), :confirm => t('message', :scope => 'refinery.admin.delete', :title => <%= singular_name %><% if (title = attributes.detect { |a| a.type.to_s == "string" }).present? %>.<%= title.name %><% else %>.title<% end %>), :method => :delete %> </span> </li>
Version data entries
4 entries across 4 versions & 1 rubygems