More workflow

This commit is contained in:
Ben Ramey
2014-03-14 21:50:36 -05:00
parent fc0ed457a6
commit ce4b9d4d50
7 changed files with 37 additions and 9 deletions

View File

@@ -1,10 +1,15 @@
div(ng-show='show')
h2 Enter your order
h2 Enter your order for {{ run.name }}
p {{ invitee.name }}, enter your order here.
p You are all going to {{ run.restaurant }}.
span(ng-click='showMenuUrl') Here is the
a(href='{{ run.menuUrl }}') menu.
form(role='form')
div.form-group
label(for='order') Your order
textarea#order.form-control(ng-model='invitee.order')
button.btn.btn-primary(ng-click='submit()') Submit Order
button.btn.btn-primary(ng-click='submit(invitee)') Submit Order

View File

@@ -11,7 +11,7 @@ div(ng-controller='CreateRunCtrl')
label(for='creatorEmail') Your email
input#creatorEmail.form-control(type='email',ng-model='run.creatorEmail',required)
div.form-group
label(for='groupEmails') Group emails
label Invitees
span(ng-repeat='i in run.invitees')
.form-group
label Name

View File

@@ -4,3 +4,5 @@ div(ng-show="show")
div(ng-repeat="i in run.invitees")
p {{ i.name }}, {{ i.email }}
p {{ i.order }}
a(href='#/run/{{ run.id }}/order/{{ i.name }}') Fill in this order