This is ejs not angular

This commit is contained in:
Johannes Zellner
2016-04-04 13:45:34 +02:00
parent 1c9fc3f3dc
commit bbaf4c77fd
2 changed files with 2 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ app.controller('Controller', [function () {}]);
<input type="hidden" name="_csrf" value="<%= csrf %>"/>
<input type="hidden" name="resetToken" value="<%= resetToken %>"/>
<p class="has-error">{{ error }}</p>
<center><p class="has-error"><%= error %></p></center>
<div class="form-group" ng-class="{ 'has-error': (setupForm.username.$dirty && setupForm.username.$invalid) }">
<label class="control-label">Username</label>