Sha256: 0fdd045d83390ced91460f37e6b22235009e4819d7489713a6051456f5ced734

Contents?: true

Size: 946 Bytes

Versions: 26

Compression:

Stored size: 946 Bytes

Contents

.container-fluid
  .row
    .col-md-2
      = render partial: 'sidebar'

    .col-md-10
      %h2= t('.new_private_message')

      = errors_for @pm

      = form_for @pm, url: private_messages_path, role: 'form' do |form|
        - if params[:reply]
          .form-group= form.text_field :recipient, value: @reply_pm.sender_login, class: 'subject form-control'
          .form-group= form.text_field :subject, value: @reply_pm.subject ,class: 'subject form-control', placeholder: t('.subject')
        - else
          .form-group= form.text_field :recipient, class: 'subject form-control autocomplete', placeholder: t('.recipient'), data: { autocomplete_path: autocomplete_users_path }
          .form-group= form.text_field :subject, class: 'subject form-control', placeholder: t('.subject')

        .form-group= form.text_area :body, class: 'body form-control', placeholder: t('.body')

        = form.submit class: 'btn btn-primary btn-sm'

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta28 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta27 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta26 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta25 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta24 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta23 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta22 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta21 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta20 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta19 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta18 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta17 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta16 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta15 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta14 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta13 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta12 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta11 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta10 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta9 app/views/my_forum/private_messages/new.haml