mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
Simplify
This commit is contained in:
parent
bd55995e1c
commit
cd8cc5cfbe
1 changed files with 3 additions and 8 deletions
|
@ -146,14 +146,9 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
|||
{% block field_other %}
|
||||
{% if field.field.name == "action_needed_reason_email" %}
|
||||
<p id="no-email-message" class="{% if original_object.action_needed_reason %}display-none{% endif %}">No email will be sent.</p>
|
||||
<div id="action-needed-reason-email-readonly" class="readonly textarea-wrapper display-none">
|
||||
<div id="action_needed_reason_email_readonly" class="dja-readonly-textarea-container padding-1 margin-top-0 padding-top-0 margin-bottom-1 thin-border collapse--dgsimple collapsed">
|
||||
<label class="max-full" for="action_needed_reason_email_view_more">
|
||||
<strong>Sent to {% if has_profile_feature_flag %}creator{%else%}submitter{%endif%}</strong>
|
||||
</label>
|
||||
<textarea id="action_needed_reason_email_view_more" cols="40" rows="20" class="{% if not original_object.action_needed_reason %}display-none{% endif %}" readonly>
|
||||
{{ original_object.action_needed_reason_email }}
|
||||
</textarea>
|
||||
<div id="action-needed-reason-email-readonly" class="readonly display-none">
|
||||
<div class="collapse--dgsimple collapsed">
|
||||
{{ field.field.value|linebreaks }}
|
||||
</div>
|
||||
<button type="button" class="collapse-toggle--dgsimple usa-button usa-button--unstyled margin-top-0 margin-bottom-1 margin-left-1">
|
||||
<span>Show details</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue