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