mirror of
https://github.com/wassname/wtforms-parsleyjs.git
synced 2026-09-12 13:00:19 +08:00
fixed some rendering issues with checkbox
solution is imperfect but ok for now
This commit is contained in:
@@ -45,8 +45,8 @@
|
||||
|
||||
{% block scripts %}
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
<script src="{{ url_for('static', filename='scripts/parsley/parsley.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='scripts/parsley/parsley.extend.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='scripts/parsleyjs/parsley.js') }}"></script>
|
||||
<script src="{{ url_for('static', filename='scripts/parsleyjs/parsley.extend.js') }}"></script>
|
||||
<script>$('form').parsley({ successClass: 'success', errorClass: 'error',
|
||||
errors: {
|
||||
classHandler: function (element) {
|
||||
|
||||
Reference in New Issue
Block a user