Sha256: 5e84dcc9bdc7ab0935626a9d3ee2caa364b46f71beb35dd7cfba358f51a9a7f3
Contents?: true
Size: 870 Bytes
Versions: 5
Compression:
Stored size: 870 Bytes
Contents
<ul> <%% if @<%= model_name_underscored %> && !@<%= model_name_underscored %>.new_record? %> <%%= content_tag(:li, link_to(l(:button_edit), edit_polymorphic_path([@project, @<%= model_name_underscored %>]), title: l(:button_edit), class: 'icon icon-edit button')) %> <%% end %> <%% if @<%= model_name_underscored %>.nil? %> <%%= content_tag(:li, link_to(l(:button_<%= model_name_underscored %>_new), new_polymorphic_path([@project, :<%= model_name_underscored %>]), title: l(:title_<%= model_name_underscored %>_new), class: 'icon icon-add button button-positive')) %> <%% end %> <%%= content_tag(:li, link_to(l(:label_<%= model_name_pluralize_underscored %>), polymorphic_path([@project, :<%= model_name_pluralize_underscored %>], set_filter: '1'), title: l(:label_<%= model_name_pluralize_underscored %>), class: 'icon icon-folder button')) %> </ul>
Version data entries
5 entries across 5 versions & 1 rubygems