Sha256: 754a31da8037609c2ccae12d715fe73bcadc8233431ebf32a8f1209b72940e65
Contents?: true
Size: 1.28 KB
Versions: 5
Compression:
Stored size: 1.28 KB
Contents
<div class="buttons"> <div class="back-but-bl"> <%%= link_to content_tag(:span, t('manage.menu.<%= plural_name %>')), manage_<%= parent_singular_name %>_<%= plural_name %>_path(@<%= parent_singular_name %>.id), :class=>"back" %> </div> <div class="act-bl"> <%%= link_to image_tag("manage/ico_edit.gif", :title=>t('manage.edit')), edit_manage_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>.id, @<%= singular_name %>.id), :class=>"icons" %> <%%= link_to image_tag("manage/ico_del.gif", :title=>t('manage.delete')), manage_<%= parent_singular_name %>_<%= singular_name %>_path(@<%= parent_singular_name %>.id, @<%= singular_name %>.id), :method=>:delete, :confirm=>t("manage.confirm_delete"), :class=>"icons" %> </div> </div> <div class="edit-bl"> <div class="bot-bg"> <div class="block-title"><%%= @<%= singular_name %>.title %>:</div> <div class="edit-cont"> <table border="0" cellspacing="0" cellpadding="0" class="page-info"> <tbody> <%% @<%= singular_name %>.attributes.each do |attribute, value| %> <tr> <td><strong><%%= attribute %></strong></td> <td><%%= value %></td> </tr> <%% end %> </tbody> </table> </div> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems