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

Version Path
playbook_ui-13.34.1.pre.alpha.PLAY14633399 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PLAY14143373 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PLAY14143372 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.1 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3368 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PLAY14143358 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0.pre.alpha.PLAY14143357 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.34.0 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.1.pre.alpha.PLAY14143340 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.1.pre.alpha.PLAY14143336 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.1 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.0.pre.alpha.PLAY14143318 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-13.33.0.pre.alpha.PLAY14143312 app/pb_kits/playbook/pb_text_input/text_input.html.erb