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.1.14.pre14 app/views/messages/_form.html.erb
enju_message-0.1.14.pre13 app/views/messages/_form.html.erb
enju_message-0.1.14.pre12 app/views/messages/_form.html.erb
enju_message-0.1.14.pre11 app/views/messages/_form.html.erb
enju_message-0.1.14.pre10 app/views/messages/_form.html.erb
enju_message-0.1.14.pre9 app/views/messages/_form.html.erb
enju_message-0.1.14.pre8 app/views/messages/_form.html.erb
enju_message-0.1.14.pre7 app/views/messages/_form.html.erb
enju_message-0.1.14.pre6 app/views/messages/_form.html.erb
enju_message-0.1.14.pre5 app/views/messages/_form.html.erb
enju_message-0.1.14.pre4 app/views/messages/_form.html.erb
enju_trunk_message-0.1.14.pre3 app/views/messages/_form.html.erb
enju_message-0.1.14.pre3 app/views/messages/_form.html.erb
enju_message-0.1.14.pre2 app/views/messages/_form.html.erb
enju_message-0.1.14.pre app/views/messages/_form.html.erb
enju_message-0.1.13 app/views/messages/_form.html.erb
enju_message-0.1.12 app/views/messages/_form.html.erb
enju_message-0.1.11 app/views/messages/_form.html.erb
enju_message-0.0.25 app/views/messages/_form.html.erb
enju_message-0.1.9 app/views/messages/_form.html.erb