aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/radio_fields.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/radio_fields.twig')
-rw-r--r--srcs/phpmyadmin/templates/radio_fields.twig11
1 files changed, 11 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/radio_fields.twig b/srcs/phpmyadmin/templates/radio_fields.twig
new file mode 100644
index 0000000..58730e3
--- /dev/null
+++ b/srcs/phpmyadmin/templates/radio_fields.twig
@@ -0,0 +1,11 @@
+{% if class is not empty %}
+<div class="{{ class }}">
+{% endif %}
+<input type="radio" name="{{ html_field_name }}" id="{{ html_field_id|raw }}" value="{{ choice_value }}"{{ checked ? ' checked="checked"' }}>
+<label for="{{ html_field_id|raw }}">{{ (escape_label ? choice_label|e : choice_label)|raw }}</label>
+{% if is_line_break %}
+<br>
+{% endif %}
+{% if class is not empty %}
+</div>
+{% endif %}