Sha256: a3455fa34f8f92a958758c7c5ef5ffa81cd14c587cd874bc8d97249e75b04734

Contents?: true

Size: 1.28 KB

Versions: 49

Compression:

Stored size: 1.28 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.editing', :model => t('activerecord.models.message_request')) -%></h1>
<div id="content_list">

<%= form_for(@message_request) do |f| -%>
  <%= f.error_messages -%>

  <div class="field">
    <%= f.label t('message.sender') -%><br />
    <%= link_to @message_request.sender.username, @message_request.sender -%>
  </div>
  <div class="field">
    <%= f.label t('message.receiver') -%><br />
    <%= link_to @message_request.receiver.username, @message_request.receiver -%>
  </div>
  <div class="field">
    <%= f.label t('activerecord.models.message_template') -%><br />
    <%= f.select(:message_template_id, @message_templates.collect{|m| [m.title, m.id]}) -%>
  </div>
  <div class="field">
    <%= f.label t('activerecord.attributes.message.subject') -%><br />
    <%= @message_request.subject -%>
  </div>
  <div class="field">
    <%= f.label t('activerecord.attributes.message.body') -%><br />
    <%= textilize(@message_request.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_request -%></li>
    <li><%= link_to t('page.back'), message_requests_path -%></li>
  </ul>
</div>

Version data entries

49 entries across 49 versions & 2 rubygems

Version Path
enju_message-0.1.8 app/views/message_requests/edit.html.erb
enju_message-0.0.23 app/views/message_requests/edit.html.erb
enju_message-0.1.7 app/views/message_requests/edit.html.erb
enju_message-0.0.22 app/views/message_requests/edit.html.erb
enju_message-0.1.6 app/views/message_requests/edit.html.erb
enju_message-0.0.21 app/views/message_requests/edit.html.erb
enju_message-0.1.5 app/views/message_requests/edit.html.erb
enju_message-0.0.20 app/views/message_requests/edit.html.erb
enju_message-0.1.4 app/views/message_requests/edit.html.erb
enju_message-0.1.3 app/views/message_requests/edit.html.erb
enju_message-0.1.2 app/views/message_requests/edit.html.erb
enju_message-0.0.19 app/views/message_requests/edit.html.erb
enju_message-0.1.1 app/views/message_requests/edit.html.erb
enju_message-0.1.0 app/views/message_requests/edit.html.erb
enju_message-0.0.18 app/views/message_requests/edit.html.erb
enju_message-0.0.17 app/views/message_requests/edit.html.erb
enju_message-0.0.16 app/views/message_requests/edit.html.erb
enju_message-0.0.15 app/views/message_requests/edit.html.erb
enju_message-0.0.14 app/views/message_requests/edit.html.erb
enju_message-0.0.13 app/views/message_requests/edit.html.erb