hire view: don't squish

This commit is contained in:
Christine Dodrill 2015-01-31 23:09:32 -08:00
parent 1bd295b80c
commit 1835ed94c4
1 changed files with 15 additions and 16 deletions

View File

@ -2,23 +2,22 @@ import Widget from require "lapis.html"
class Hire extends Widget class Hire extends Widget
content: => content: =>
div class: "row", -> form class: "form-signin", method: "POST", action: "/hire", ->
form class: "form-signin", method: "POST", action: "/hire", -> input type: "hidden", name: "csrf_token", value: @csrf_token
input type: "hidden", name: "csrf_token", value: @csrf_token
div class: "form-group", -> div class: "form-group", ->
label for: "name", "Your Name" label for: "name", "Your Name"
div class: "input-group", -> div class: "input-group", ->
input type: "text", class: "form-control", name: "name", id: "name", placeholder: "Enter Name", :required input type: "text", class: "form-control", name: "name", id: "name", placeholder: "Enter Name", :required
div class: "form-group", -> div class: "form-group", ->
label for: "email", "Your Email Address" label for: "email", "Your Email Address"
div class: "input-group", -> div class: "input-group", ->
input type: "email", class: "form-control", name: "email", id: "email", placeholder: "Enter Email Address", :required input type: "email", class: "form-control", name: "email", id: "email", placeholder: "Enter Email Address", :required
div class: "form-group", -> div class: "form-group", ->
label for: "name", "Message" label for: "name", "Message"
div class: "input-group", -> div class: "input-group", ->
textarea type: "text", class: "form-control", name: "message", id: "message", rows: 5, :required textarea type: "text", class: "form-control", name: "message", id: "message", rows: 5, :required
raw [[<input type="submit" name="submit" id="submit" value="Submit" class="btn btn-info pull-right">]] raw [[<input type="submit" name="submit" id="submit" value="Submit" class="btn btn-info pull-right">]]