aboutsummaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--accounts/templates/accounts/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/accounts/templates/accounts/index.html b/accounts/templates/accounts/index.html
index 2733050..48d5bc8 100644
--- a/accounts/templates/accounts/index.html
+++ b/accounts/templates/accounts/index.html
@@ -51,7 +51,7 @@
{% endblock%}
{% block content %}
-<form action="{% url 'personal'%}" method="post" id="form" enctype="multipart/form-data">
+<form action="{% url 'personal'%}" method="post" id="form1" enctype="multipart/form-data">
<div id="personal" class="row">
<div class="col l8 offset-l2 s12">
<div class="card-panel">
@@ -127,7 +127,7 @@
</div>
</div>
<div class="fixed-action-btn">
- <a class="btn-floating btn-large teal" onclick="document.getElementById('form').submit()">
+ <a class="btn-floating btn-large teal" onclick="send('save')">
<i class="large material-icons">save</i>
</a>
</div>
@@ -325,8 +325,8 @@
{% block script %}
function send(id) {
- $('#form').trigger('reinitialize.areYouSure');
- var form = document.getElementById('form');
+ $('#form1').trigger('reinitialize.areYouSure');
+ var form = document.getElementById('form1');
var action = document.getElementById('action');
action.setAttribute('value', id);
form.submit();