Sha256: 237717d3d338c9911e66a35d35a647a613f76651cb40999debcd2bb05242df73
Contents?: true
Size: 1.17 KB
Versions: 4
Compression:
Stored size: 1.17 KB
Contents
<%= pb_content_tag do %> <% if object.label.present? %> <%= pb_rails("caption", props: {text: object.label, margin_bottom:"xs"}) %> <% end %> <div class="dropdown_wrapper<%= error_class %>" style="position: relative"> <input data-default-value="<%= input_default_value %>" id="dropdown-selected-option" name="<%= object.name %>" style="display: none" <%= object.required ? "required" : ""%> /> <% if content.present? %> <%= content.presence %> <%= pb_rails("body", props: { status: "negative", text: object.error }) %> <% else %> <%= pb_rails("dropdown/dropdown_trigger") %> <%= pb_rails("dropdown/dropdown_container") do %> <% if options_with_blank.present? %> <% options_with_blank.each do |option| %> <%= pb_rails("dropdown/dropdown_option", props: {option: option}) %> <% end %> <% end %> <% end %> <%= pb_rails("body", props: { status: "negative", text: object.error }) %> <% end %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems