Sha256: 79f026cfaf6691996cf9a8e6fd1f8837657236a3706bf533e6970c970c288623
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
<ul> <%% if ::Phoenix::Admin::<%= class_name.pluralize %>Controller.searchable? %> <li> <%%= render :partial => "/phoenix/admin/search", :locals => { :url => main_app.phoenix_admin_<%= plural_name %><%= "_index" if plural_name == singular_name%>_path } %> </li> <%% end %> <li> <%%= link_to t('.create_new'), main_app.new_phoenix_admin_<%= singular_name %>_path, :class => "add_icon" %> </li> <%% if !searching? && ::Phoenix::Admin::<%= class_name.pluralize %>Controller.sortable? && ::Phoenix::<%= class_name.pluralize %>::<%= class_name %>.any? %> <li> <%%= link_to t('.reorder', :what => "<%= singular_name.titleize.pluralize %>"), main_app.phoenix_admin_<%= plural_name %><%= "_index" if plural_name == singular_name%>_path, :id => "reorder_action", :class => "reorder_icon" %> <%%= link_to t('.reorder_done', :what => "<%= singular_name.titleize.pluralize %>"), main_app.phoenix_admin_<%= plural_name %><%= "_index" if plural_name == singular_name%>_path, :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %> </li> <%% end %> </ul>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phoenix_core-0.2.1.beta | lib/generators/phoenix/extension/templates/app/views/phoenix/plural_name/admin/plural_name/_actions.html.erb |