/
edit_account.html.twig
36 lines (31 loc) · 1.13 KB
/
edit_account.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{% extends '@startupapi/page_with_sidebar.html.twig' %}
{% import '@startupapi/error_messages.html.twig' as ERR %}
{% block content %}
<div class="page-header">
<h1>
Edit Account Info / <b>{{account_name}}</b>
</h1>
</div>
{{ ERR.showErrors('edit-account', errors) }}
<form class="form" action="" method="POST">
<div class="row">
<div class="form-group col-sm-8 col-md-6 col-lg-4{{ ERR.group('edit-account', 'name', errors) }}">
<label class="control-label" for="startupapi-admin-account-edit-name">Account Name</label>
<input class="form-control"
type="text"
id="startupapi-admin-account-edit-name"
name="account_name"
value="{{account_name}}"
onfocus="this.value = this.value;">
<script>
$('#startupapi-admin-account-edit-name').focus();
</script>
</div>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Update Account</button>
<a class="btn btn-default" href="{{UserConfig.USERSROOTURL}}/manage_account.php">Discard Changes</a>
</div>
<input type="hidden" name="CSRF_NONCE" value="{{ AUTH.CSRF_NONCE }}"/>
</form>
{% endblock %}