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.10.0.pre.alpha.play1662cssbargraph5200 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.8 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.7 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.6 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.5 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5193 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.4 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.3 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.alpha.PBNTR662stickyrightcolumnreact5160 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.2 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.1 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5137 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.11.0.pre.rc.0 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR767advancedtablemultiheadercolumns5136 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5121 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5120 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.24 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.23 app/pb_kits/playbook/pb_text_input/text_input.html.erb
playbook_ui-14.10.0.pre.rc.22 app/pb_kits/playbook/pb_text_input/text_input.html.erb