File tree Expand file tree Collapse file tree
manage_breast_screening/mammograms/jinja2/mammograms/medical_information Expand file tree Collapse file tree Original file line number Diff line number Diff line change 129129 }) }}
130130 {% endif %}
131131
132- <div class =" nhsuk-form-group" >
133- {{ button({
134- "text": presented_medical_info.add_or_update_breast_features_button.text,
135- "href": presented_medical_info.add_or_update_breast_features_button.href,
136- "classes": "nhsuk-button--secondary nhsuk-button--small"
137- }) }}
138- </div >
132+ {% if not read_only %}
133+ <div class =" nhsuk-form-group" >
134+ {{ button({
135+ "text": presented_medical_info.add_or_update_breast_features_button.text,
136+ "href": presented_medical_info.add_or_update_breast_features_button.href,
137+ "classes": "nhsuk-button--secondary nhsuk-button--small"
138+ }) }}
139+ </div >
140+ {% endif %}
139141{% endmacro %}
140142
141143{% macro other_information_content (presented_medical_info , read_only =false ) %}
You can’t perform that action at this time.
0 commit comments