run watch page
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
div(ng-controller='CreateRunCtrl')
|
||||
h2 Create a new run yo
|
||||
form(name='form',novalidate,role='form')
|
||||
div.form-group
|
||||
label(for='name') Name your run
|
||||
input#name.form-control(type='text',ng-model='run.name',required)
|
||||
div.form-group
|
||||
label(for='creatorName') Your name
|
||||
input#creatorName.form-control(type='text',ng-model='run.creatorName',required)
|
||||
@@ -10,7 +13,12 @@ div(ng-controller='CreateRunCtrl')
|
||||
div.form-group
|
||||
label(for='groupEmails') Group emails
|
||||
span(ng-repeat='i in run.invitees')
|
||||
input#groupEmail.form-control(ng-model='i.email',required)
|
||||
.form-group
|
||||
label Name
|
||||
input.form-control(ng-model='i.name',required)
|
||||
.form-group
|
||||
label Email
|
||||
input.form-control(ng-model='i.email',required)
|
||||
button.btn.btn-default(ng-click='addInvitee()') Add
|
||||
div.form-group
|
||||
label(for='restaurant') Restaurant
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
span hello there folks!
|
||||
div(ng-show="show")
|
||||
h2 {{ run.name }}
|
||||
p {{ run.creatorName }}, here's your lunch run! Wait here to see real-time updates of your invitees' orders.
|
||||
|
||||
div(ng-repeat="i in run.invitees")
|
||||
p {{ i.name }}, {{ i.email }}
|
||||
|
||||
Reference in New Issue
Block a user