mirror of
https://github.com/Hopiu/django-fobi.git
synced 2026-05-22 03:11:52 +00:00
clean up js and html
This commit is contained in:
parent
3a8b2ec307
commit
91d4d72298
2 changed files with 1 additions and 10 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -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 %}">
|
||||
|
|
|
|||
Loading…
Reference in a new issue