Files
lunchrun.me/assets/templates/home.jade
2014-03-08 21:38:57 -06:00

23 lines
1.2 KiB
Plaintext

.row
.col-xs-12.col-sm-12.col-md-12.col-lg-12
div(ng-controller='CreateRunCtrl')
h2 Create a new run
form(name='form',novalidate,role='form')
div.form-group
label(for='creatorName') Your name
input#creatorName.form-control(type='text',ng-model='run.creatorName',required)
div.form-group
label(for='creatorEmail') Your email
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required)
div.form-group
label(for='groupEmails') Group emails
textarea#groupEmails.form-control(ng-model='run.groupEmails',required)
div.form-group
label(for='restaurant') Restaurant
input#restaurant.form-control(type='text',ng-model='run.restaurant')
div.form-group
label(for='menuUrl') Menu URL
input#menuUrl.form-control(type='url',ng-model='run.menuUrl')
button.btn.btn-primary(ng-click="create(run)",ng-disabled="form.$invalid") Create