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