Skip to content

Commit

Permalink
fix style in message threads
Browse files Browse the repository at this point in the history
  • Loading branch information
donrestarone committed May 30, 2021
1 parent 33695d2 commit a9670e8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
14 changes: 8 additions & 6 deletions app/views/mailbox/message_threads/_form.haml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
= form_for @message_thread, url: mailbox_message_threads_path, method: :post do |f|
%label
recipients:
= f.text_field :recipients, multiple: true, required: true
%label
Subject:
= f.text_field :subject
.form-group
%label
recipients:
= f.text_field :recipients, multiple: true, required: true, class: 'form-control'
.form-group
%label
Subject:
= f.text_field :subject, class: 'form-control'
= render partial: 'messages/form', locals: { f: f }
8 changes: 5 additions & 3 deletions app/views/messages/_form.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
= f.fields_for Message.new do |message_form|
= message_form.rich_text_area :content
= f.submit
.my-3
= f.fields_for Message.new do |message_form|
= message_form.rich_text_area :content
.my-3
= f.submit "Send", class: 'btn btn-primary'

0 comments on commit a9670e8

Please sign in to comment.