merged/app/views/merged/sections/_option_form_select.haml

5 lines
245 B
Plaintext

%label.block
%h4.text-lg.font-bold
= option.name.capitalize
= select_tag( "option[#{option.name}]" , options_for_select(option.values, section.option(option.name)), class: "w-full rounded-lg border-gray-200 p-4 pr-12 text-sm shadow-sm")