8000 fix: #7752 – change_form template uses the wrong id by jrief · Pull Request #7753 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

fix: #7752 – change_form template uses the wrong id #7753

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adopt <form id="…"> to proper model
  • Loading branch information
jrief committed Jan 10, 2024
commit 977ea8f14aa6d5a794a3a6f6d31c8dd2171e9c32
2 changes: 1 addition & 1 deletion cms/templates/admin/cms/page/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

{% block object-tools %}{% endblock %}

<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="?language={{ language }}{%if request.GET.parent_node %}&amp;parent_node={{ request.GET.parent_node }}{% endif %}{%if request.GET.source %}&amp;source={{ request.GET.source }}{% endif %}" method="post" id="page_form">
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="?language={{ language }}{%if request.GET.parent_node %}&amp;parent_node={{ request.GET.parent_node }}{% endif %}{%if request.GET.source %}&amp;source={{ request.GET.source }}{% endif %}" method="post" id="{{ opts.model_name }}_form">
{% csrf_token %}
{% block form_top %}{% endblock %}

Expand Down
0