Sha256: acd3d0bc24f39587a83ac66255a5d937e0f8d6df6c7cd1e579f46c3cf7c1c961
Contents?: true
Size: 1.62 KB
Versions: 9
Compression:
Stored size: 1.62 KB
Contents
<div id="content_detail" class="ui-corner-all"> <h1 class="title"><%= t('activerecord.models.message') -%></h1> <div id="content_list"> <p id="notice"><%= notice %></p> <fieldset> <p> <label for="message_receiver_name" ><strong><%= t('message.receiver') -%>:</strong></label> <%= link_to @message.receiver.username, @message.receiver -%> </p> <p> <label for="message_sender_name" ><strong><%= t('message.sender') -%>:</strong></label> <%= link_to @message.sender.username, @message.sender -%> </p> <p> <label for="message_sent_at" ><strong><%= t('message.sent_at') -%>:</strong></label> <%= l(@message.created_at) -%> </p> <p> <label for="message_subject" ><strong><%= t('activerecord.attributes.message.subject') -%>:</strong></label> <%= @message.subject -%> </p> <p> <label for="message_body" ><strong><%= t('activerecord.attributes.message.body') -%>:</strong></label> <%= raw auto_link(simple_format(h(@message.body))) -%> </p> </fieldset> </div> </div> <div id="submenu" class="ui-corner-all"> <ul> <% if request.referer %> <li><%= link_to t('page.back'), :back -%></li> <% else %> <li><%= link_to t('page.listing', :model => t('activerecord.models.message')), messages_path -%></li> <% end %> <li><%= link_to t('message.reply'), new_message_path(:parent_id => @message.id) -%></li> <% if can? :delete, :message %> <li><%= link_to t('page.destroy'), @message, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%></li> <% end %> </ul> </div>
Version data entries
9 entries across 9 versions & 1 rubygems