2015-02-01 07:00:52 +00:00
|
|
|
import Widget from require "lapis.html"
|
|
|
|
|
2015-02-03 20:34:20 +00:00
|
|
|
class Email extends Widget
|
2015-02-01 07:00:52 +00:00
|
|
|
content: =>
|
2015-02-01 07:13:07 +00:00
|
|
|
link rel: "stylesheet", href: "/static/css/hire/main.css"
|
2015-02-01 07:00:52 +00:00
|
|
|
|
2015-02-01 07:15:01 +00:00
|
|
|
h1 "Leave Me A Message"
|
|
|
|
|
2015-02-01 07:13:07 +00:00
|
|
|
div class: "ccd-login-form", ->
|
2015-02-06 00:50:10 +00:00
|
|
|
form class: "form-signin", method: "POST", action: "/contact/email", ->
|
2015-02-01 07:13:07 +00:00
|
|
|
input type: "hidden", name: "csrf_token", value: @csrf_token
|
2015-02-01 07:00:52 +00:00
|
|
|
|
2015-02-01 07:13:07 +00:00
|
|
|
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
|
2015-02-01 07:00:52 +00:00
|
|
|
|
2015-02-01 07:13:07 +00:00
|
|
|
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
|
2015-02-01 07:00:52 +00:00
|
|
|
|
2015-02-01 07:13:07 +00:00
|
|
|
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
|
|
|
|
|
2015-02-03 20:34:20 +00:00
|
|
|
input type: "submit", name: "submit", id: "submit", value: "Submit", class: "btn btn-info"
|