Sha256: 1efb890a68b66c46ac345c68aecf789e751e015ef074110225a79444da2e9232

Contents?: true

Size: 1.31 KB

Versions: 34

Compression:

Stored size: 1.31 KB

Contents

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

34 entries across 34 versions & 1 rubygems

Version Path
enju_message-0.3.3 app/views/message_requests/edit.html.erb
enju_message-0.4.0.rc.1 app/views/message_requests/edit.html.erb
enju_message-0.3.2 app/views/message_requests/edit.html.erb
enju_message-0.4.0.beta.2 app/views/message_requests/edit.html.erb
enju_message-0.4.0.beta.1 app/views/message_requests/edit.html.erb
enju_message-0.3.1 app/views/message_requests/edit.html.erb
enju_message-0.3.0 app/views/message_requests/edit.html.erb
enju_message-0.3.0.rc.1 app/views/message_requests/edit.html.erb
enju_message-0.3.0.beta.1 app/views/message_requests/edit.html.erb
enju_message-0.2.4 app/views/message_requests/edit.html.erb
enju_message-0.2.3 app/views/message_requests/edit.html.erb
enju_message-0.2.2 app/views/message_requests/edit.html.erb
enju_message-0.2.1 app/views/message_requests/edit.html.erb
enju_message-0.2.0 app/views/message_requests/edit.html.erb
enju_message-0.2.0.beta.5 app/views/message_requests/edit.html.erb
enju_message-0.2.0.beta.4 app/views/message_requests/edit.html.erb
enju_message-0.2.0.beta.3 app/views/message_requests/edit.html.erb
enju_message-0.2.0.beta.2 app/views/message_requests/edit.html.erb
enju_message-0.2.0.beta.1 app/views/message_requests/edit.html.erb
enju_message-0.1.16 app/views/message_requests/edit.html.erb