Compare commits
No commits in common. "35866c216bf13c4138e9cb41d2fedb1b40a7eff4" and "2c7b8d9393ca20d63cd277b4bb7c715545bfccac" have entirely different histories.
35866c216b
...
2c7b8d9393
@ -90,7 +90,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{# Set default name to the selected role ID or first role if none selected #}
|
{# Set default name to the selected role ID or first role if none selected #}
|
||||||
<select id="cluster_{{ loop.index }}"
|
<select id="cluster_{{ loop.index }}"
|
||||||
{% if selected_role_id == 'none' %} {% else %} name="roles[{{ selected_role_id }}]" {% endif %}
|
name="roles[{% if selected_role_id != 'none' %}{{ selected_role_id }}{% else %}{{ cluster_roles[0].id }}{% endif %}]"
|
||||||
{% if allowed_to_edit == false %}disabled{% endif %}
|
{% if allowed_to_edit == false %}disabled{% endif %}
|
||||||
onchange=" if (this.value === '') { this.removeAttribute('name'); } else { this.name = 'roles[' + this.options[this.selectedIndex].getAttribute('data-role-id') + ']'; }">
|
onchange=" if (this.value === '') { this.removeAttribute('name'); } else { this.name = 'roles[' + this.options[this.selectedIndex].getAttribute('data-role-id') + ']'; }">
|
||||||
<option value=""
|
<option value=""
|
||||||
|
Loading…
Reference in New Issue
Block a user