From 535ca954de39a4ef5a6cbd5b1d0186debae85851 Mon Sep 17 00:00:00 2001 From: Cillian O'Ruanaidh Date: Fri, 21 Jul 2023 12:12:36 +0100 Subject: [PATCH] Voucher codes should only be a single line so use a text field instead of a textarea --- app/views/admin/vouchers/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/vouchers/new.html.haml b/app/views/admin/vouchers/new.html.haml index ec6d88ee05..fd83642389 100644 --- a/app/views/admin/vouchers/new.html.haml +++ b/app/views/admin/vouchers/new.html.haml @@ -14,7 +14,7 @@ .alpha.four.columns = f.label :code, t('.voucher_code') .omega.eight.columns - = f.text_area :code, rows: 6, class: 'fullwidth' + = f.text_field :code, class: 'fullwidth' .row .alpha.four.columns = f.label :amount, t('.voucher_amount')