File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/unfold/templates/admin Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 3434 {% include adminform.model_admin.change_form_outer_before_template %}
3535 {% endif %}
3636
37- < form {% if adminform.model_admin.conditional_fields %}x-data ='{{ adminform|changeform_data }} '{% endif %} {% if has_file_field %}enctype ="multipart/form-data " {% endif %}{% if form_url %}action ="{{ form_url }} "{% else %}x-bind:value ="activeTab && activeTab !== 'general' ? '#' + activeTab : '' " {% endif %} method ="post " id ="{{ opts.model_name }}_form " {% if adminform.model_admin.warn_unsaved_form %}class ="warn-unsaved-form "{% endif %} novalidate >
37+ < form {% if adminform.model_admin.conditional_fields %}x-data ='{{ adminform|changeform_data }} '{% endif %} {% if has_file_field %}enctype ="multipart/form-data " {% endif %}{% if form_url %}action ="{{ form_url }} "{% endif %} x-bind:action ="activeTab && activeTab !== 'general' ? window.location.pathname + window.location.search + '#' + activeTab : window.location.pathname + window.location.search " method ="post " id ="{{ opts.model_name }}_form " {% if adminform.model_admin.warn_unsaved_form %}class ="warn-unsaved-form "{% endif %} novalidate >
3838 {% csrf_token %}
3939
4040 {% if adminform.model_admin.change_form_before_template %}
You can’t perform that action at this time.
0 commit comments