20 lines
1,002 B
HTML
20 lines
1,002 B
HTML
<form name="tokenForm" method="post" role="form" ng-submit="doSubmit(token)" ng-disabled="hasError()" novalidate>
|
|
<div class="main-error" ng-if="error">{{error}}</div>
|
|
<fieldset>
|
|
<div class="token">
|
|
<label for="token">Token</label>
|
|
<input type="text" name="token" id="token" placeholder="Dein 16-stelliger Token" ng-model="token" ng-pattern="constraints.token.regex" ng-required="!constraints.token.optional" />
|
|
<span class="feedback" ng-if="tokenForm.token.$invalid && submitted">
|
|
Das Token ist ein 16-stelliger Wert bestehend aus 0-9 und a-f.
|
|
</span>
|
|
</div>
|
|
<div class="buttons">
|
|
<button class="submit" type="submit">
|
|
<i class="fa {{submitIcon}}"></i> {{submitLabel}}
|
|
</button>
|
|
<button class="cancel" type="reset" ng-click="onCancel()">
|
|
<i class="fa fa-times"></i> Abbrechen
|
|
</button>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|