Sha256: eff1b4bab35dbd6912e83a52d251feb0b8168e50fd81ce2a3304f00e8695ffd1

Contents?: true

Size: 1020 Bytes

Versions: 30

Compression:

Stored size: 1020 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', autocomplete: 'off' do |form|
        - if params[:reply]
          .form-group= form.text_field :recipient, value: @reply_pm.sender_login, autocomplete: 'off', 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, value: params[:to], 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 t('.send'), class: 'btn btn-primary btn-sm'

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
my_forum-0.0.2.4 app/views/my_forum/private_messages/new.haml
my_forum-0.0.2.3 app/views/my_forum/private_messages/new.haml
my_forum-0.0.2.2 app/views/my_forum/private_messages/new.haml
my_forum-0.0.2.1 app/views/my_forum/private_messages/new.haml
my_forum-0.0.2 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta60 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta59 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta58 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta57 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta56 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta55 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta54 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta53 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta52 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta51 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta50 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta49 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta48 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta47 app/views/my_forum/private_messages/new.haml
my_forum-0.0.1.beta46 app/views/my_forum/private_messages/new.haml