Skip to content

Instantly share code, notes, and snippets.

@planetoftheweb
Last active May 6, 2020 15:23
Show Gist options
  • Save planetoftheweb/5baacc9dc8580f44f50290fbc3664fc7 to your computer and use it in GitHub Desktop.
Save planetoftheweb/5baacc9dc8580f44f50290fbc3664fc7 to your computer and use it in GitHub Desktop.
<div className="card textcenter mt-3">
<div className="apt-addheading card-header bg-primary text-white">
Add Appointment
</div>
<div className="card-body">
<form id="aptForm" noValidate>
<div className="form-group form-row">
<label
className="col-md-2 col-form-label text-md-right"
htmlFor="petName"
readOnly
>
Pet Name
</label>
<div className="col-md-10">
<input
type="text"
className="form-control"
name="petName"
placeholder="Pet's Name"
/>
</div>
</div>
<div className="form-group form-row">
<label
className="col-md-2 col-form-label text-md-right"
htmlFor="ownerName"
>
Pet Owner
</label>
<div className="col-md-10">
<input
type="text"
className="form-control"
name="ownerName"
placeholder="Owner's Name"
/>
</div>
</div>
<div className="form-group form-row">
<label
className="col-md-2 col-form-label text-md-right"
htmlFor="aptDate"
>
Date
</label>
<div className="col-md-4">
<input
type="date"
className="form-control"
name="aptDate"
id="aptDate"
/>
</div>
<label
className="col-md-2 col-form-label text-md-right"
htmlFor="aptTime"
>
Time
</label>
<div className="col-md-4">
<input
type="time"
className="form-control"
name="aptTime"
id="aptTime"
/>
</div>
</div>
<div className="form-group form-row">
<label className="col-md-2 text-md-right" htmlFor="aptNotes">
Apt. Notes
</label>
<div className="col-md-10">
<textarea
className="form-control"
rows="4"
cols="50"
name="aptNotes"
id="aptNotes"
placeholder="Appointment Notes"
/>
</div>
</div>
<div className="form-group form-row mb-0">
<div className="offset-md-2 col-md-10">
<button
type="submit"
className="btn btn-primary d-block ml-auto"
>
Add Appointment
</button>
</div>
</div>
</form>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment