Sha256: ec58cc27fb9238cfaec07c2b29808b1792af7cfd7d4121ff8739dff150862497

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

Contents

<%= form_for([carrier, @message], :html => { :autocomplete => :off }) do |f| %>

  <%= error_messages_for @message %>
  
  <div class="message_ma_new_wrapper">
    <div class="message_ma_new_wrapper_1">
      <div class="field">
        <div>
          <%= f.label :recipients, t('views.carrier.new_recipients') %>
        </div>
        <div id="recipients">
          <%= render :partial => "carrier/messages/recipients", :locals => {:f => f } %>
        </div>
      </div>    
    </div>
    <div class="message_ma_new_wrapper_2">
      <div class="field">
        <div>
          <%= f.label :subject, t('views.carrier.new_subject') %>
        </div>
        <%= f.text_field :subject %>
      </div>
      <div class="field">
        <div>
          <%= f.label :content, t('views.carrier.new_content') %>
        </div>
        <%= f.text_area :content, :rows => 6 %>
      </div>
      <%= f.hidden_field :sender, :value => current_user.id %>
      <div class="actions">
        <%= f.submit t('views.carrier.new_send') %>
      </div>    
    </div> 
  </div>

<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
carrier-0.1.4 app/views/carrier/messages/_form.html.erb
carrier-0.1.3 app/views/carrier/messages/_form.html.erb
carrier-0.1.2 app/views/carrier/messages/_form.html.erb
carrier-0.1.1 app/views/carrier/messages/_form.html.erb
carrier-0.1.0 app/views/carrier/messages/_form.html.erb