Sha256: a8b6763d862f80da4a738a7677c2ed6710f496d6691bafe963bc711f23039559

Contents?: true

Size: 579 Bytes

Versions: 7

Compression:

Stored size: 579 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 %>

  <%= f.hidden_field :sender_id %>
  <%= f.hidden_field :receiver_id %>

  <div class="field">
    <%= f.label :text %><br />
    <%= f.text_area :text %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
social_stream-0.3.6 app/views/messages/_form.html.erb
social_stream-0.3.5 app/views/messages/_form.html.erb
social_stream-0.3.4 app/views/messages/_form.html.erb
social_stream-0.3.3 app/views/messages/_form.html.erb
social_stream-0.3.2 app/views/messages/_form.html.erb
social_stream-0.3.1 app/views/messages/_form.html.erb
social_stream-0.3.0 app/views/messages/_form.html.erb