add custom logic for mailing form

This commit is contained in:
Christine Dodrill 2015-01-31 23:13:07 -08:00
parent 1835ed94c4
commit dec2178c25
2 changed files with 23 additions and 15 deletions

5
static/css/hire/main.css Normal file
View File

@ -0,0 +1,5 @@
div.ccd-login-form {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}

View File

@ -2,6 +2,9 @@ import Widget from require "lapis.html"
class Hire extends Widget
content: =>
link rel: "stylesheet", href: "/static/css/hire/main.css"
div class: "ccd-login-form", ->
form class: "form-signin", method: "POST", action: "/hire", ->
input type: "hidden", name: "csrf_token", value: @csrf_token