diff --git a/app/views/paid_time_off/index.html.erb b/app/views/paid_time_off/index.html.erb index 90da7cc..ed360a4 100644 --- a/app/views/paid_time_off/index.html.erb +++ b/app/views/paid_time_off/index.html.erb @@ -44,46 +44,64 @@
-
-
+
+

Schedule PTO

+

Plan your time away from work

-
+
<%= form_for @schedule, url: "#", html: { id: "cal_update" } do |s| %> -
- <%= s.label :event_name, "Event Name", class: "form-label" %> +
+ <%= s.text_field :event_name, { - placeholder: "My PTO", - class: "form-control" + placeholder: "e.g., Summer Vacation, Personal Day", + class: "form-control form-control-lg" } %>
<%= s.text_field :event_type, type: "hidden", value: "pto" %> -
- <%= s.label :event_desc, "Event Description", class: "form-label" %> +
+ <%= s.text_field :event_desc, { - placeholder: "Travel to Europe", - class: "form-control" + placeholder: "e.g., Family trip to Hawaii, Medical appointment", + class: "form-control form-control-lg" + } %> + Optional: Add details about your time off +
+ +
+ +
+ + + + +
+ Choose the start and end dates for your PTO +
+ +
+ <%= s.submit "Schedule PTO", { + id: 'cal_update_submit', + class: "btn btn-primary btn-lg" } %>
-
- -
- - - - -
+
+ + + Tip: Your PTO request will appear on the calendar after submission +
- - <%= s.submit "Schedule PTO", { - id: 'cal_update_submit', - class: "btn btn-primary" - } %> <% end %>