mirror of https://github.com/gophish/gophish
Fixed settings page (missing closing script tag)
parent
9df97d9d05
commit
0c71c8982e
|
@ -21,7 +21,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" ng-controller="SettingsCtrl">
|
||||
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
|
||||
<div class="row">
|
||||
<h1 class="page-header">Settings</h1>
|
||||
</div>
|
||||
|
@ -41,7 +41,7 @@
|
|||
<div class="row">
|
||||
<label for="username" class="col-sm-2 control-label form-label">Username:</label>
|
||||
<div class="col-md-6">
|
||||
<input type="text" id="username" class="form-control" {{.User.Username}} />
|
||||
<input type="text" id="username" class="form-control" value="{{.User.Username}}" />
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
|
@ -58,7 +58,7 @@
|
|||
<input type="password" id="new_password" name="new_password" class="form-control" />
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="csrf_token" {{.Token}}/>
|
||||
<input type="hidden" name="csrf_token" value="{{.Token}}"/>
|
||||
<br />
|
||||
<button class="btn btn-primary" type="submit">Save</button>
|
||||
</form>
|
||||
|
@ -66,5 +66,5 @@
|
|||
</div>
|
||||
{{end}}
|
||||
{{define "scripts"}}
|
||||
<script src="/js/app/settings.js">
|
||||
<script src="/js/app/settings.js"></script>
|
||||
{{end}}
|
||||
|
|
Loading…
Reference in New Issue