Sha256: 4e3a351e9e4308594a5eb8c2f311342dcad04d6133ff3ae3aa5716caaf5b4deb

Contents?: true

Size: 790 Bytes

Versions: 2

Compression:

Stored size: 790 Bytes

Contents

<h1><%= t('conversation.new.new_conversation') %></h1>

<%= form_for(@conversation, :url => user_conversations_path) do |f| %>
  <% if @conversation.errors.any? %>
    <div id="error_explanation">
      <h2><%= "#{pluralize(@conversation.errors.count, "error")} prohibited this order from being saved:" %></ul>
      <ul>
        <% @conversation.errors.full_messages.each do |msg| %>
          <li><%= msg%></li>
        <% end %>
      </ul>
    </div>
  <% end %>
  <div>
    <%= f.label :to_tokens %>
    <%= f.text_field :to_tokens %>
  </div>
  <div>
    <%= f.label :subject %>
    <%= f.text_field :subject %>
  </div>
  <%= f.fields_for :messages do |m| %>
    <div>
      <%= m.label :body %><br />
      <%= m.text_area :body %>
    </div>
  <% end %>
  <%= f.submit %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
conversations-0.0.2.1 app/views/conversations/conversations/new.html.erb
conversations-0.0.2 app/views/conversations/conversations/new.html.erb