Sha256: 97c8b257f293ae33e130bb13d68033afbdc23aac1a12176a26400f23d7675323
Contents?: true
Size: 1.61 KB
Versions: 28
Compression:
Stored size: 1.61 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? :destroy, :message %> <li><%= link_to t('page.destroy'), @message, :confirm => t('page.are_you_sure'), :method => :delete -%></li> <% end %> </ul> </div>
Version data entries
28 entries across 28 versions & 1 rubygems