Sha256: cee2862a7e9c19b51fc56e3b667dbda064dabd6373351486e66a7056911cef79

Contents?: true

Size: 1.09 KB

Versions: 49

Compression:

Stored size: 1.09 KB

Contents

<div id="content_detail" class="ui-corner-all">
<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">
  <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

49 entries across 49 versions & 2 rubygems

Version Path
enju_message-0.1.14.pre13 app/views/messages/edit.html.erb
enju_message-0.1.14.pre12 app/views/messages/edit.html.erb
enju_message-0.1.14.pre11 app/views/messages/edit.html.erb
enju_message-0.1.14.pre10 app/views/messages/edit.html.erb
enju_message-0.1.14.pre9 app/views/messages/edit.html.erb
enju_message-0.1.14.pre8 app/views/messages/edit.html.erb
enju_message-0.1.14.pre7 app/views/messages/edit.html.erb
enju_message-0.1.14.pre6 app/views/messages/edit.html.erb
enju_message-0.1.14.pre5 app/views/messages/edit.html.erb
enju_message-0.1.14.pre4 app/views/messages/edit.html.erb
enju_trunk_message-0.1.14.pre3 app/views/messages/edit.html.erb
enju_message-0.1.14.pre3 app/views/messages/edit.html.erb
enju_message-0.1.14.pre2 app/views/messages/edit.html.erb
enju_message-0.1.14.pre app/views/messages/edit.html.erb
enju_message-0.1.13 app/views/messages/edit.html.erb
enju_message-0.1.12 app/views/messages/edit.html.erb
enju_message-0.1.11 app/views/messages/edit.html.erb
enju_message-0.0.25 app/views/messages/edit.html.erb
enju_message-0.1.9 app/views/messages/edit.html.erb
enju_message-0.0.24 app/views/messages/edit.html.erb