34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
|
import Widget from require "lapis.html"
|
||
|
|
||
|
class Hire extends Widget
|
||
|
content: =>
|
||
|
div class: "row", ->
|
||
|
form class: "form-signin", method: "POST", action: "/hire", ->
|
||
|
input type: "hidden", name: "csrf_token", value: @csrf_token
|
||
|
|
||
|
i class:"glyphicon glyphicon-ok form-control-feedback", ->
|
||
|
p "Required"
|
||
|
|
||
|
div class: "form-group", ->
|
||
|
label for: "name", "Your Name"
|
||
|
div class: "input-group", ->
|
||
|
input type: "text", class: "form-control", name: "name", id: "name", placeholder: "Enter Name", :required
|
||
|
raw [[<span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span>]]
|
||
|
|
||
|
div class: "form-group", ->
|
||
|
label for: "email", "Your Email Address"
|
||
|
div class: "input-group", ->
|
||
|
input type: "email", class: "form-control", name: "email", id: "email", placeholder: "Enter Email Address", :required
|
||
|
raw [[<span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span>]]
|
||
|
|
||
|
div class: "form-group", ->
|
||
|
label for: "name", "Message"
|
||
|
div class: "input-group", ->
|
||
|
textarea type: "text", class: "form-control", name: "message", id: "message", rows: 5, :required
|
||
|
raw [[<span class="input-group-addon"><i class="glyphicon glyphicon-ok form-control-feedback"></i></span>]]
|
||
|
|
||
|
|
||
|
raw [[<input type="submit" name="submit" id="submit" value="Submit" class="btn btn-info pull-right">]]
|
||
|
|
||
|
|