Created
November 11, 2013 22:04
-
-
Save budparr/7421289 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ if raven:success }} | |
<h1>Thank You!</h1> | |
{{ first-name }} | |
{{ last-name }} | |
{{ from }} | |
{{ phone }} | |
{{ book-title }} | |
{{ book-publisher }} | |
{{ author-name }} | |
{{ author-country-of-birth }} | |
{{ author-country-of-citizenship }} | |
{{ book-category }} | |
{{ book-date-of-first-publication }} | |
{{ endif }} | |
{{ raven:errors }} | |
{{ if missing }} | |
<div class="error-block"> | |
<h4>Sorry, but all fields are required. You are missing:</h4> | |
<ul> | |
{{ missing }} | |
<li><strong>{{ field }}</strong></li> | |
{{ /missing }} | |
</ul> | |
</div> | |
{{ endif }} | |
{{ if invalid }} | |
<div class="error-block"> | |
<h2>Sorry, but you might want to have another look at:</h2> | |
<ul> | |
{{ invalid }} | |
<li><strong>{{ field }}</strong>: {{ message }}</li> | |
{{ /invalid }} | |
</ul> | |
</div> | |
{{ endif }} | |
{{ /raven:errors }} | |
{{ raven:form formset="book-awards" return="submission/thank-you" attr="role:form"}} | |
<div class="row"> | |
<div class="col-lg-12"> | |
<h4 class="form-divider">About You </h4> | |
</div> | |
<div class="form-group col-lg-6"> | |
<label class="small">First Name</label> | |
<input type="text" name="first-name" class="form-control text-field" id="first-name" size="50" value="{{ first-name }}" /> | |
</div> | |
<div class="form-group col-lg-6"> | |
<label class="small">Last Name</label> | |
<input type="text" name="last-name" class="form-control text-field" id="last-name" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-8"> | |
<label class="small">Email Address</label> | |
<input type="text" name="email" class="form-control text-field" id="email" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-4"> | |
<label class="small">Phone Number</label> | |
<input type="text" name="phone" class="form-control text-field" id="phone" size="50" value="" /> | |
</div> | |
</div>{{# //ROW #}} | |
<div class="row"> | |
<div class="col-lg-12"> | |
<h4 class="form-divider">Book Details </h4> | |
</div> | |
<div class="form-group col-lg-12"> | |
<label class="small">Title</label> | |
<input type="text" name="book-title" class="form-control text-field" id="book-title" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-12"> | |
<label class="small">Publisher</label> | |
<input type="text" name="book-publisher" class="form-control text-field" id="book-publisher" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-12"> | |
<label class="small">Author Name</label> | |
<input type="text" name="author-name" class="form-control text-field" id="book-publisher" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-12"> | |
<label class="small">Author Country of Birth</label> | |
<input type="text" name="author-country-of-birth" class="form-control text-field" id="book-publisher" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-12"> | |
<label class="small">Author Country of Citizenship</label> | |
<input type="text" name="author-country-of-citizenship" class="form-control text-field" id="book-publisher" size="50" value="" /> | |
</div> | |
<div class="form-group col-lg-5"> | |
<label class="small">Category</label> | |
<select name="book-category" class="form-control" > | |
<option value="timelineselect" /> -- Select One --</option> | |
<option value="fiction" /> Fiction</option> | |
<option value="nonfiction" /> Nonfiction</option> | |
<option value="poetry" /> Poetry</option> | |
<option value="youth-chapter-book" /> Youth Chapter Book</option> | |
<option value="unpublished-fiction" /> Unpublished Fiction</option> | |
<option value="unpublished-nonfiction" /> Unpublished Nonfiction</option> | |
</select> | |
</div> | |
<div class="form-group col-lg-7"> | |
<label class="small">Date of First Publication (DD/MM/YYYY)</label> | |
<input type="text" name="book-date-of-first-publication" class="form-control text-field" id="book-publisher" size="50" value="" /> | |
</div> | |
</div>{{# //ROW #}} | |
<div class="row"> | |
<div class="col-lg-12"> | |
<h4 class="form-divider">Payment </h4> | |
</div> | |
<div class="form-group col-lg-12"> | |
<label class="small">Payment Method ($35 Entry Fee)</label> | |
<div class="radio"> | |
<label> | |
<input type="radio" name="payment-method" id="optionsRadios1" value="paypal" checked> | |
Paypal (credit card) | |
</label> | |
</div> | |
<div class="radio"> | |
<label> | |
<input type="radio" name="payment-method" id="optionsRadios2" value="check"> | |
Check (send with book) | |
</label> | |
</div> | |
</div> | |
</div>{{# //ROW #}} | |
<div class="row" style="margin-top:1em;"> | |
<div class="form-group col-lg-12"> | |
<input type="submit" class="btn btn-small btn-primary" value=" Submit Form " /> | |
</div> | |
</div>{{# //ROW #}} | |
{{ /raven:form }} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment