mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Don't show if readonly
This commit is contained in:
parent
49089cd1b0
commit
32c5a5a325
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ This is using a custom implementation fieldset.html (see admin/fieldset.html)
|
|||
{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% elif field.field.name == "investigator" and not original_object.investigator %}
|
||||
{% elif field.field.name == "investigator" and not field.is_readonly and not original_object.investigator %}
|
||||
<div class="flex-container">
|
||||
<label aria-label="Assign yourself as the investigator"></label>
|
||||
<button id="investigator__assign_self"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue