eventman/angular_app/event-detail.html

25 lines
1.3 KiB
HTML
Raw Normal View History

2015-03-21 13:21:47 +01:00
<div class="container-fluid">
2015-03-21 15:33:17 +01:00
<form ng-model="eventdetails" ng-submit="save()">
2015-03-21 13:21:47 +01:00
<div class="input-group input-group-lg">
<span class="input-group-addon" id="basic-addon1">Title</span>
2015-03-21 15:33:17 +01:00
<input type="text" class="form-control" placeholder="Title" aria-describedby="basic-addon-2" value="{{event.title}}" ng-model="event.title" ng-required="1">
</div>
<div class="input-group top5">
<span class="input-group-addon" id="basic-addon1">Short description</span>
<input type="text" class="form-control" placeholder="The event in one sentence" aria-describedby="basic-addon1" value="{{event['short-description']}}" ng-model="event['short-description']">
2015-03-21 13:21:47 +01:00
</div>
2015-03-15 23:05:59 +01:00
2015-03-21 13:21:47 +01:00
<div class="input-group top5">
<span class="input-group-addon" id="basic-addon1">Begin time</span>
2015-03-21 15:33:17 +01:00
<input type="text" class="form-control" placeholder="Date and time" aria-describedby="basic-addon1" value="{{event['begin-datetime']}}" ng-model="event['begin-datetime']">
2015-03-15 23:05:59 +01:00
</div>
2015-03-21 13:21:47 +01:00
<div class="input-group top5">
<span class="input-group-addon" id="basic-addon1">End time</span>
2015-03-21 15:33:17 +01:00
<input type="text" class="form-control" placeholder="Date and time" aria-describedby="basic-addon1" value="{{event['end-datetime']}}" ng-model="event['begin-endtime']">
2015-03-21 13:21:47 +01:00
</div>
2015-03-21 15:33:17 +01:00
<input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/>
</form>
2015-03-21 13:21:47 +01:00
</div>