2015-03-22 09:08:38 +01:00
<!-- show details of a single Event (editing also take place here) -->
2015-03-22 17:17:51 +01:00
< div class = "container" >
2015-03-21 15:45:40 +01:00
< form ng-model = "eventdetails" ng-submit = "save()" >
< div class = "input-group input-group-lg" >
2015-03-23 23:06:44 +01:00
< span class = "input-group-addon" > Title< / span >
< input type = "text" class = "form-control" placeholder = "Title" value = "{{event.title}}" ng-model = "event.title" ng-required = "1" >
2015-03-21 15:45:40 +01:00
< / div >
2015-03-21 15:33:17 +01:00
2015-03-21 15:45:40 +01:00
< div class = "input-group top5" >
2015-03-23 23:06:44 +01:00
< span class = "input-group-addon" > Short description< / span >
< input type = "text" class = "form-control" placeholder = "The event in one sentence" value = "{{event['short-description']}}" ng-model = "event['short-description']" >
2015-03-21 15:45:40 +01:00
< / div >
2015-03-15 23:05:59 +01:00
2015-03-21 15:45:40 +01:00
< div class = "input-group top5" >
2015-03-23 23:06:44 +01:00
< span class = "input-group-addon" > Begin time< / span >
< input type = "datetime-local" class = "form-control" placeholder = "Date and time" value = "{{event['begin-datetime']}}" ng-model = "event['begin-datetime']" >
2015-03-21 15:45:40 +01:00
< / div >
2015-03-15 23:05:59 +01:00
2015-03-21 15:45:40 +01:00
< div class = "input-group top5" >
2015-03-23 23:06:44 +01:00
< span class = "input-group-addon" > End time< / span >
< input type = "datetime-local" class = "form-control" placeholder = "Date and time" value = "{{event['end-datetime']}}" ng-model = "event['end-datetime']" >
2015-03-21 15:45:40 +01:00
< / div >
< input type = "submit" style = "position: absolute; left: -9999px; width: 1px; height: 1px;" / >
< / form >
2015-03-21 13:21:47 +01:00
< / div >