clean up js and html

This commit is contained in:
Artur Barseghyan 2018-01-13 21:13:43 +01:00
parent 3a8b2ec307
commit 91d4d72298
2 changed files with 1 additions and 10 deletions

View file

@ -87,15 +87,6 @@ FobiCore.prototype = {
};
/**
* Replaces "-" with "_". For the rest is the jQuery-Slugify-Plugin package is used.
* @param <string> str:
* @return <string>
*/
//var fobiSlugify = function(str) {
// return str.replace(/[\-]+/g, '_');
//};
var fobiCore = new FobiCore();
$(document).ready(function() {

View file

@ -6,7 +6,7 @@
</div>
{% endblock %}
<form method="{% block form_method %}post{% endblock %}" action="{% block form_action %}{% if form_entry.action %}{{ form_entry.action }}{% else %}{{ request.path }}{% endif %}{% endblock %}" {% block form_enctype %}enctype="multipart/form-data"{% endblock %} class="{% block form_html_class %}{% endblock %}" {% block form_extra_attrs %}{% endblock %}>
<form method="{% block form_method %}post{% endblock %}" action="{% block form_action %}{{ form_entry.action|default:request.path }}{% endblock %}" {% block form_enctype %}enctype="multipart/form-data"{% endblock %} class="{% block form_html_class %}{% endblock %}" {% block form_extra_attrs %}{% endblock %}>
{% csrf_token %}
{% include fobi_theme.form_snippet_template_name %}
<div class="{% block form_button_outer_wrapper_html_class %}{% endblock %}">