Sha256: c2fa4a5e2727c101e21700e15932bd131d500f39c20c18a781c19fe5934e094d
Contents?: true
Size: 1.1 KB
Versions: 35
Compression:
Stored size: 1.1 KB
Contents
<div id="content_detail" class="ui-corner-all ui-widget-content"> <h1 class="title"><%= t('page.editing', model: t('activerecord.models.message')) -%></h1> <div id="content_list"> <%= form_for(@message) do |f| -%> <%= f.error_messages -%> <div class="field"> <%= f.label t('message.sender') -%><br /> <%= @message.sender.username -%> <%= f.hidden_field :sender_id -%> </div> <div class="field"> <%= f.label t('message.receiver') -%><br /> <%= f.text_field :recipient, class: 'resource_title', value: @message.receiver.username -%> </div> <div class="field"> <%= f.label :subject -%><br /> <%= f.text_field :subject, class: 'resource_title' -%> </div> <div class="field"> <%= f.label :body -%><br /> <%= f.text_area :body, id: 'message_body' -%> </div> <div class="actions"> <%= f.submit %> </div> <%- end -%> </div> </div> <div id="submenu" class="ui-corner-all ui-widget-content"> <ul> <li><%= link_to t('page.show'), @message -%></li> <li><%= link_to t('page.listing', model: t('activerecord.models.message')), messages_path -%></li> </ul> </div>
Version data entries
35 entries across 35 versions & 1 rubygems