Sha256: 6ad90522f5e23261141b39611ed411292e9fe89d20319354d33ee28d516674bb
Contents?: true
Size: 675 Bytes
Versions: 1
Compression:
Stored size: 675 Bytes
Contents
<%= pb_content_tag(:div, **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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.24.0.pre.alpha.play1305drycontenttag2689 | app/pb_kits/playbook/pb_text_input/text_input.html.erb |