Sha256: 752a54bfd4a07f2a15012feb38eb9899e094baa9c0692fc4570a8f50ff9b628b

Contents?: true

Size: 489 Bytes

Versions: 8

Compression:

Stored size: 489 Bytes

Contents

<% if ff.object.field_type != 'radio' %>
	<div class="form-item--full-size standard-form--checkbox field-setting-choices--allow-null">
		<%= ff.input :allow_null, 
				as: :radio_buttons,
				label: t('binda.allow_null'),
				collection: [[t('binda.allow_null_true'), true], [t('binda.allow_null_false'), false]],
				label_method: -> (x){ "<span class=\"standard-form--input-box\"></span>#{x[0]}".html_safe },
		    checked: ff.object.allow_null, 
		    default: true %>
	</div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
binda-0.1.11 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.10 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.9 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.8 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.7 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.6 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.5 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb
binda-0.1.4 app/views/binda/field_groups/form_item/form_item_choice/_form_item_allow_null_choice.html.erb