|
0
|
1 |
<div> |
|
|
2 |
<div ng-hide="editMode"> |
|
|
3 |
<h4>{{slide.user_title}}</h4> |
|
|
4 |
<p>{{slide.user_description}}</p> |
|
|
5 |
<p><em>{{slide.tags.join(', ')}}</em></p> |
|
|
6 |
<p class="text-right"><button id="btn-search-annotations" class="btn" ng-click="editMode=true"><span class="glyphicon glyphicon-pencil"></span></button></p> |
|
|
7 |
</div> |
|
|
8 |
<div ng-show="editMode"> |
|
|
9 |
<input type="text" class="form-control" ng-model='slide.user_title'></input> |
|
|
10 |
<textarea class="form-control editor-textarea" ng-model='slide.user_description'></textarea> |
|
|
11 |
<input type="text" class="form-control" ng-model='slide.tags'></input> |
|
|
12 |
<p class="text-right"><button id="btn-search-annotations" class="btn" ng-click="slidesave()"><span class="glyphicon glyphicon-ok"></span></button></p> |
|
|
13 |
</div> |
|
|
14 |
</div> |