Skip to content

Commit

Permalink
fix: Add default text to update/edit buttons in group_form
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed Aug 27, 2024
1 parent 27035f4 commit 1ac88ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
{% block save_text %}
{%- if action == "edit" -%}
{%- if 'humanize_entity_type' in h -%}
{{ h.humanize_entity_type('organization', group_type, 'update label') }}
{{ h.humanize_entity_type('organization', group_type, 'update label') or _('Update Organization') }}
{%- else -%}
{{ _('Update Organization') }}
{%- endif -%}
{%- else -%}
{%- if 'humanize_entity_type' in h -%}
{{ h.humanize_entity_type('organization', group_type, 'create label') }}
{{ h.humanize_entity_type('organization', group_type, 'create label') or _('Create Organization') }}
{%- else -%}
{{ _('Create Organization') }}
{%- endif -%}
Expand Down

0 comments on commit 1ac88ba

Please sign in to comment.