Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Add missing required fields to contact form.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Jun 16, 2017
1 parent fb79ea2 commit c02b886
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions source/contact.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ title: Contact Us
<input class="form-control" id="contact_email" name="contact[email]" size="50" type="email" required />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="contact_api"><abbr title="Required" class="required"><span class="abbr-required">*</span></abbr> Which API are you inquiring about?</label>
<div class="col-sm-5">
<input class="form-control" id="contact_api" name="contact[api]" size="50" type="text" required />
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="contact_subject"><abbr title="Required" class="required"><span class="abbr-required">*</span></abbr> What can we help you with?</label>
<div class="col-sm-5">
<select id="contact_subject" name="contact[subject]" class="form-control" required>
<option value="">Please select one...</option>
<option>API key support</option>
<option>Requesting higher rate limits</option>
<option>Other</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="contact_message"><abbr title="Required" class="required"><span class="abbr-required">*</span></abbr> Message</label>
<div class="col-sm-5">
Expand Down

0 comments on commit c02b886

Please sign in to comment.