feature/Tweak VRP consent screen to show data via GUI instead of JSON 2

This commit is contained in:
Marko Milić 2025-01-28 09:37:59 +01:00
parent 916db10889
commit 993986f01f

View File

@ -179,5 +179,11 @@ Berlin 13359, Germany
<a id="confirm-vrp-consent-request-deny-submit-button" class="btn btn-danger" href="/">Deny</span></a>
</div>
<br>
<script>
// Apply the `readonly` attribute dynamically
const elements = document.querySelectorAll('#confirm-vrp-consent-request-div input, #confirm-vrp-consent-request-div textarea');
elements.forEach(el => el.setAttribute('readonly', 'readonly'));
</script>
</form>
</div>
</div>