Sha256: c413af2651b437ea023a7a76d5a4297a3a7bbb3449ab976852ec13bfeec5a360
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
<div> <%= form.label :value, active_field.name %> <% if active_field.nullable? %> <%= form.collection_radio_buttons :value, { "Null" => "", "True" => "true", "False" => "false" }, :last, :first, { checked: active_value.value.to_s }, {} %> <% else %> <%= form.check_box :value, { checked: active_value.value }, "true", "false" %> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_fields-1.1.0 | lib/generators/active_fields/scaffold/templates/views/active_fields/values/inputs/_boolean.html.erb |