Skip to content

Commit

Permalink
replace header uses the place's contact type friendly name when avail…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
freddieptf committed Oct 23, 2024
1 parent 496066f commit fe1832a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/liquid/app/form_switch.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
<section class="hero is-small">
<div class="hero-body">
<p class="title">
{{header_caption}} {{contactType.contact_friendly | default: contactType.friendly }}
{{header_caption}}
{% if op == "replace" %}
{{contactType.contact_friendly | default: contactType.friendly }}
{% else %}
{{contactType.friendly}}
{% endif %}
</p>
</div>
</section>
Expand Down

0 comments on commit fe1832a

Please sign in to comment.