Skip to content

Commit

Permalink
Update based on feedback (#1609)
Browse files Browse the repository at this point in the history
  • Loading branch information
ieuans authored Apr 23, 2024
2 parents da8e872 + 446b67d commit 710c7e5
Showing 1 changed file with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@
<div class="col-sm-12 shadow-frame">
<h3 class="paneltitle">
<span id="entity-{{ component.field_name }}"></span>
{% if not component.hide_input_title %}
<h3 class="detailed-input-group__title">{{ component.field_data.title }}</h3>
{% endif %}

{% if not component.hide_input_details %}
<p class="detailed-input-group__description">{{ component.description }}</p>
{% endif %}
{% if component.value|length %}
{% if not component.hide_input_title %}
<h3 class="detailed-input-group__title">{{ component.field_data.title }}</h3>
{% endif %}

{% if not component.hide_input_details %}
<p class="detailed-input-group__description">{{ component.description }}</p>
{% endif %}

{{ component.value|markdownify }}
{%endif %}
</h3>

{% if component.value|length %}
{{ component.value|markdownify }}
{% else %}
{% render_citation_block entity request as citation %}
{{ citation|markdownify }}
{% endif %}
<h3 class="detailed-input-group__title">Citation Example</h3>
{% render_citation_block entity request as citation %}
{{ citation|markdownify }}
</div>
</div>

0 comments on commit 710c7e5

Please sign in to comment.