Sha256: 538641af7bf05e176ce9ce470e1d2cfd6a1b5a223ad0fe3ac7ab3f82e545fe9f

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 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

1 entries across 1 versions & 1 rubygems

Version Path
sunrise-scaffold-0.1.3 lib/generators/sunrise_scaffold/templates/multiplay/views/show.html.erb