26 lines
984 B
HTML
26 lines
984 B
HTML
|
<div class="center">
|
||
|
<form class="gosscms-form gosscms-form-aligned" action="/admin/users/{{ .TemplateData }}/save" method="POST">
|
||
|
<fieldset>
|
||
|
<div class="gosscms-control-group">
|
||
|
<span>{{ .TemplateData }}</span>
|
||
|
</div>
|
||
|
|
||
|
<div class="gosscms-control-group">
|
||
|
<label class="control-label" for="password">Password</label>
|
||
|
<input id="password" name="password" type="password" placeholder="Password">
|
||
|
</div>
|
||
|
|
||
|
<div class="gosscms-control-group">
|
||
|
<a href="/admin/users" class="pull-left space gosscms-button gosscms-button-plain">Cancel</a>
|
||
|
<button type="submit" class="pull-right space gosscms-button gosscms-button-primary">Update</button>
|
||
|
<button type="button" id="btnDeleteUser" class="pull-right space gosscms-button gosscms-button-error">Delete</button>
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|
||
|
<script>
|
||
|
document.getElementById('btnDeleteUser').onClick = function(e) {
|
||
|
console.log(e);
|
||
|
}
|
||
|
</script>
|