Sha256: 2e47b089406833f65c47037ec5152451cc9ad8a822cd360797af8a64e630c42f
Contents?: true
Size: 867 Bytes
Versions: 244
Compression:
Stored size: 867 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) do %> <% if object.inputs == "disabled" %> <%= pb_rails("icon", props: { custom_icon: object.custom_icon, icon: object.icon, size: "2x" }) %> <%= pb_rails("title", props: { text: object.text, tag: "h4", size: 4 }) %> <% else %> <% if object.multi %> <%= check_box_tag(object.name, object.value, object.checked, object.additional_input_options) %> <% else %> <%= radio_button_tag(object.name, object.value, object.checked, object.additional_input_options) %> <% end %> <label for="<%= object.input_id_present %>"> <%= pb_rails("icon", props: { icon: object.icon, size: "2x" }) %> <%= pb_rails("title", props: { text: object.text, tag: "h4", size: 4 }) %> </label> <% end %> <% end %>
Version data entries
244 entries across 244 versions & 1 rubygems