Skip to content

Commit 81c9038

Browse files
committed
Refactor user form structure
1 parent 4ea50ca commit 81c9038

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

frontend/js/app/user/form.ejs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div class="modal-content">
2-
<div class="modal-header">
3-
<h5 class="modal-title"><%- i18n('users', 'form-title', {id: id}) %></h5>
4-
<button type="button" class="close cancel" aria-label="Close" data-dismiss="modal">&nbsp;</button>
5-
</div>
6-
<div class="modal-body">
7-
<form>
2+
<form>
3+
<div class="modal-header">
4+
<h5 class="modal-title"><%- i18n('users', 'form-title', {id: id}) %></h5>
5+
<button type="button" class="close cancel" aria-label="Close" data-dismiss="modal">&nbsp;</button>
6+
</div>
7+
<div class="modal-body">
88
<div class="row">
99
<div class="col-sm-6 col-md-6">
1010
<div class="form-group">
@@ -49,10 +49,10 @@
4949
</div>
5050
<% } %>
5151
</div>
52-
</form>
53-
</div>
54-
<div class="modal-footer">
55-
<button type="button" class="btn btn-secondary cancel" data-dismiss="modal"><%- i18n('str', 'cancel') %></button>
56-
<button type="button" class="btn btn-teal save"><%- i18n('str', 'save') %></button>
57-
</div>
52+
</div>
53+
<div class="modal-footer">
54+
<button type="button" class="btn btn-secondary cancel" data-dismiss="modal"><%- i18n('str', 'cancel') %></button>
55+
<button type="submit" class="btn btn-teal save"><%- i18n('str', 'save') %></button>
56+
</div>
57+
</form>
5858
</div>

0 commit comments

Comments
 (0)