diff --git a/app/assets/stylesheets/application/feedbacks.scss b/app/assets/stylesheets/application/feedbacks.scss index 97312014647f011ff9acd78534250bc2d0daa619..b779a8b96e2d27edbcf4055c779f987105023805 100644 --- a/app/assets/stylesheets/application/feedbacks.scss +++ b/app/assets/stylesheets/application/feedbacks.scss @@ -1,4 +1,7 @@ +/** Feedback Buttons **/ .report_bug, .send_feedback {position: fixed; bottom: 0; height: 30px; width: auto; padding: 5px; z-index: 999;} - .report_bug {left: 25%; background-color: #730E15; color: white;} -.send_feedback {right: 25%; background-color: #ffae0d; color: black;} \ No newline at end of file +.send_feedback {right: 25%; background-color: #ffae0d; color: black;} + +/** Forms **/ +.feedback-modal-form-textarea { height: 200px; } \ No newline at end of file diff --git a/app/views/feedbacks/new_bug.html.erb b/app/views/feedbacks/new_bug.html.erb index 867b62fc8be41786c09dd114a7fd3f1dbcf142ec..df288938c9b06e407e1857631cca6731bd57ec38 100644 --- a/app/views/feedbacks/new_bug.html.erb +++ b/app/views/feedbacks/new_bug.html.erb @@ -8,11 +8,17 @@ <%= form_for @bug, url: report_bug_feedback_path, method: :post do |f| %> <form id="feedback-modal-form"> <div class="modal-body"> - <%= f.label :title, 'O que está acontecendo?' %> - <%= f.text_field :title %> + <div class="form-group"> + <%= f.label :title, 'O que está acontecendo?' %> + <%= f.text_field :title, class: 'form-control' %> + </div> + + <div class="form-group"> + <%= f.label :description, 'Descreva melhor seu problema para que possamos resolve-lo mais rápido:' %> + <p class="help-block">Por favor, seja breve e objetivo para que o problema seja corrigido o mais rápido possÃvel</p> + <%= f.text_area :description, class: 'form-control feedback-modal-form-textarea' %> + </div> - <%= f.label :description, 'Descreva melhor seu problema para que possamos resolve-lo mais rápido:' %> - <%= f.text_field :description %> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Cancelar</button>