34 lines
828 B
HTML
34 lines
828 B
HTML
<form #form="ngForm" class="overview">
|
|
<h3>Kampagne hinzufügen</h3>
|
|
|
|
<div class="form-group">
|
|
<label for="title">Titel</label>
|
|
<input type="text" class="form-control"
|
|
[(ngModel)]="campaign.title"
|
|
name="title"
|
|
id="title"
|
|
required maxlength="50"/>
|
|
|
|
<show-error displayName="Name" controlPath="title"></show-error>
|
|
</div>
|
|
|
|
<button id="cancel"
|
|
(click)="cancel()"
|
|
class="btn btn-default">
|
|
Abbrechen
|
|
</button>
|
|
|
|
<button id="save"
|
|
(click)="saveCampaign()"
|
|
class="btn btn-default"
|
|
[disabled]="!form.valid">
|
|
Bestätigen
|
|
</button>
|
|
|
|
<span *ngIf="showErrorLabel"
|
|
class="center-block label label-danger" style="font-size: medium; padding: 2px; margin-top: 2px">
|
|
{{error}}
|
|
</span>
|
|
|
|
</form>
|