<%= content_tag(:div, class: "pb_input") do %> <% if object.label.present? %> <%= pb_rails("caption", props: {text: object.label}) %> <% end %> <%= content_tag(:div, class: "input_wrapper") do %> <%= tag(:input, id: object.id, data: object.data, class: object.classname("input_field"), name: object.name, placeholder: object.placeholder, type: object.type, value: object.value) %> <% end %> <% end %>