Sha256: ef20b9fd67e7f1fc79bf84c97664bddfb81229633125b927711129e23b5d2109
Contents?: true
Size: 751 Bytes
Versions: 559
Compression:
Stored size: 751 Bytes
Contents
<%= content_tag(:div, aria: object.aria, class: object.classname, data: object.data, **combined_html_options) do %> <% if object.label.present? %> <%= pb_rails("caption", props: { text: object.label, dark: object.dark, classname: "pb_text_input_kit_label" }) %> <% end %> <%= content_tag(:div, class: "#{add_on_class} text_input_wrapper") do %> <% if content.present? %> <%= content %> <% elsif has_add_on? %> <%= pb_rails("text_input/add_on", props: object.add_on_props) do %> <%= input_tag %> <% end %> <% else %> <%= input_tag %> <% end %> <%= pb_rails("body", props: {dark: object.dark, status: "negative", text: object.error}) if object.error %> <% end %> <% end %>
Version data entries
559 entries across 559 versions & 1 rubygems