eventman/angular_app/event-detail.html

25 lines
1.3 KiB
HTML

<!-- show details of a single Event (editing also take place here) -->
<div class="container">
<form ng-model="eventdetails" ng-submit="save()">
<div class="input-group input-group-lg">
<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">
</div>
<div class="input-group top5">
<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']">
</div>
<div class="input-group top5">
<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']">
</div>
<div class="input-group top5">
<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']">
</div>
<input type="submit" style="position: absolute; left: -9999px; width: 1px; height: 1px;"/>
</form>
</div>