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-14.9.0.pre.alpha.PBNTR746datepickerdefaultbug4891 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4890 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.play1703errorstatealignment4889 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.12 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.11 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4868 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4866 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR738collapsiblewithintablekit4855 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.10 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.9 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.8 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.7 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.6 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.5 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.4 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY16264818 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR702stickyleftcolrails4806 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.3 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.2 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.play1742globalheightfixes4766 app/pb_kits/playbook/pb_text_input/text_input.html.erb