move notice to the top; change style

This commit is contained in:
bilal
2020-06-15 13:03:14 +02:00
parent 8ad89371b8
commit 0cc305302a
3 changed files with 8 additions and 5 deletions

View File

@@ -1,6 +1,11 @@
<%= errors_summary_for task_request %>
<%= bootstrap_form_with model: model, local: true do |form| %>
<div class="alert alert-notice text-center pl-0 text-md-left mt-4">
<%= fa_icon "info-circle" %>
<strong><%= t '.info_message' %></strong>
</div>
<%= form.text_area :description, label: t('.labels.description') %>
<%= form.text_field :deadline, class: "datepicker-control", label: t('.labels.deadline') %>
<%= form.text_field :time_allowed, label: t('.labels.time_allowed') %>
@@ -24,11 +29,6 @@
data-placeholder="<%= dropzone_placeholder_message_for(task_request) %>"
data-submit-button="#submit_folder"></div>
<% end %>
<div class="alert alert-info text-center text-md-left mt-4">
<%= fa_icon "info-circle" %>
<strong>After you submit this information you will immediately be connected with a BIG representative who will be able to collect any additional information needed, answer your questions, etc.</strong>
</div>
<div class="row align-items-center text-center mt-4">
<%= link_to t("shared.cancel"), [project, :task_requests], class: "col-3 text-reset" %>

View File

@@ -951,6 +951,7 @@ en:
description: Please describe the task.
files: Please attach any files related to this task
time_allowed: How many hours would like spend on this task?
info_message: After submitting this task request, you'll be connected via chat with a BIG representative.
index:
actions:
new: Create Task Request

View File

@@ -187,3 +187,5 @@ es:
actions:
manage: Manage (ES)
open_deliverable: Open Deliverable (ES)
form:
info_message: After submitting this task request, you'll be connected via chat with a BIG representative. (ES)