Skip to content

Commit

Permalink
Avoid request params to use rendering HTML fc2blog#338
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Aug 8, 2021
1 parent 361df05 commit c9f893a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/twig_templates/admin/categories/edit_sp.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<li>
<a class="btn_contents touch" href="{{ url(req, 'Categories', 'create') }}"><i class="return_icon btn_icon"></i>{{ _('I Back to List') }}</a>
</li>
{% if req.get('id') != 1 %}
{% if category.id != 1 %}
<li>
<a href="{{ url(req, 'Categories', 'delete', {id: req.get('id'), sig: sig}) }}" class="btn_contents touch"
onclick="return confirm('{{ _('If the child category exists\nRemove all along with the child category, but do you really want?') }}');"><i class="delete_icon btn_icon"></i>{{ _('Delete') }}</a>
Expand Down

0 comments on commit c9f893a

Please sign in to comment.