Skip to content

Commit

Permalink
Refactor template variable assignments in new_package_form.html to fi…
Browse files Browse the repository at this point in the history
…x showing delete and update showcase buttons
  • Loading branch information
MarkCalvert committed Nov 4, 2024
1 parent d24f792 commit b85d810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/showcase/templates/showcase/new_package_form.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% import 'macros/form.html' as form %}
{% set action = c.form_action or '' %}
{% set form_style = c.form_style or c.action %}
{% set action = form_action or '' %}
{% set form_style = form_style or action %}
{% set showcase_read_route = 'showcase_blueprint.read' %}
{% set showcase_delete_route = 'showcase_blueprint.delete' %}

Expand Down

0 comments on commit b85d810

Please sign in to comment.