9 lines
330 B
HTML
9 lines
330 B
HTML
|
<h1 ng-if="assignment.id">{{ assignment.name }}</h1>
|
||
|
<h1 ng-if="!assignment.id">Neue Assignment</h1>
|
||
|
|
||
|
<form>
|
||
|
Titel: <input type="text" ng-model="assignment.name"><br>
|
||
|
Beschreibung:<br> <textarea ng-model="assignment.description"></textarea><br>
|
||
|
<input type="submit" ng-click="save(assignment)" value="Save" />
|
||
|
</form>
|