-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit.html.erb
More file actions
19 lines (16 loc) · 820 Bytes
/
edit.html.erb
File metadata and controls
19 lines (16 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="flex flex-col mx-auto">
<h1 class="text-3xl font-bold tracking-tight text-gray-900">Edit Appointment</h1>
<%= form_for appointment, html: { class: "mt-12" } do |f| %>
<div class="flex flex-col gap-y-4">
<div class="flex flex-col">
<%= f.label :requested_datetime, class: "font-semibold" %>
<%= f.datetime_field :requested_datetime %>
</div>
<div class="flex flex-col">
<%= f.label :notes, class: "font-semibold" %>
<%= f.text_area :notes, cols: 40, rows: 10 %>
</div>
<%= f.submit class: "rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" %>
</div>
<% end %>
</div>