diff --git a/app/components/form/hour_minute_duration_component.html.erb b/app/components/form/hour_minute_duration_component.html.erb index 6d5fab8f0c..7a0ba75ba4 100644 --- a/app/components/form/hour_minute_duration_component.html.erb +++ b/app/components/form/hour_minute_duration_component.html.erb @@ -1,19 +1,21 @@ -
-
+
+
<%= @form.label :duration_hours, "Hour(s)" %> <%= @form.number_field :duration_hours, min: 0, - class: "cc-field", + class: "form-control", size: "10", + style: "background:white", value: @hour_value, required: true %>
-
+
<%= @form.label :duration_minutes, "Minute(s)" %> <%= @form.number_field :duration_minutes, min: 0, - class: "cc-field", + class: "form-control", size: "10", + style: "background:white", value: @minute_value, required: true %>
diff --git a/app/views/case_contacts/form/details.html.erb b/app/views/case_contacts/form/details.html.erb index eceb08eb8f..26d5acb0b1 100644 --- a/app/views/case_contacts/form/details.html.erb +++ b/app/views/case_contacts/form/details.html.erb @@ -30,9 +30,9 @@
-

*

+

*

-
+
<%= form.radio_button :contact_made, true, checked: @case_contact.contact_made, @@ -52,7 +52,7 @@
-
+
<%= form.collection_radio_buttons(:medium_type, contact_mediums, 'value', 'label') do |b| %>
<%= b.radio_button(class: "form-check-input") %> @@ -62,7 +62,7 @@
-
<%= form.label :occurred_at, "c. Occurred On" %>
+
<%= form.label :occurred_at, "c. Date of contact" %>
<% occurred_at = @case_contact.occurred_at || Time.zone.now %> <%= render "layouts/components/ranged_date_picker", @@ -72,7 +72,7 @@
-
+
<%= render(Form::HourMinuteDurationComponent.new(form: form, hour_value: duration_hours(@case_contact), minute_value: duration_minutes(@case_contact))) %>