Sha256: 908a7524a7a6c73e7dfd4e5a8d62b1d6f1d99104fc33c3a9887b22bb8f439545
Contents?: true
Size: 869 Bytes
Versions: 2
Compression:
Stored size: 869 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 %> <%% unless @<%= model_name_underscored %> %> <%%= 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
2 entries across 2 versions & 1 rubygems