Sha256: 0db36107976c739843ae05ddca501138fffd0f95a6cfdf125c080f6e3fc3739b

Contents?: true

Size: 906 Bytes

Versions: 50

Compression:

Stored size: 906 Bytes

Contents

<%= form_for(@message) do |f| %>
  <% if @message.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@message.errors.count, "error") %> prohibited this message from being saved:</h2>

      <ul>
      <% @message.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :sender_id %><br />
    <%= f.text_field :sender_id %>
  </div>
  <div class="field">
    <%= f.label :receiver_id %><br />
    <%= f.text_field :receiver_id %>
  </div>
  <div class="field">
    <%= f.label :state %><br />
    <%= f.text_field :state %>
  </div>
  <div class="field">
    <%= f.label :subject %><br />
    <%= f.text_field :subject %>
  </div>
  <div class="field">
    <%= f.label :body %><br />
    <%= f.text_area :body %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
enju_message-0.0.13 app/views/messages/_form.html.erb
enju_message-0.0.12 app/views/messages/_form.html.erb
enju_message-0.0.11 app/views/messages/_form.html.erb
enju_message-0.0.10 app/views/messages/_form.html.erb
enju_message-0.0.9 app/views/messages/_form.html.erb
enju_message-0.0.7 app/views/messages/_form.html.erb
enju_message-0.0.6 app/views/messages/_form.html.erb
enju_message-0.0.5 app/views/messages/_form.html.erb
enju_message-0.0.4 app/views/messages/_form.html.erb
enju_message-0.0.3 app/views/messages/_form.html.erb