Sha256: f586d402515ad716fa577b8adff8000effdb315cda82f202cad549d08b6268f5

Contents?: true

Size: 482 Bytes

Versions: 2

Compression:

Stored size: 482 Bytes

Contents

<%= content_tag(:div,
    class: "pb_text_input_kit") do %>
  <% if object.label.present? %>
    <%= pb_rails("caption", props: {text: object.label}) %>
  <% end %>
  <%= content_tag(:div,
      class: "text_input_wrapper") do %>
    <%= tag(:input,
        id: object.id,
        data: object.data,
        class: object.classname,
        name: object.name,
        placeholder: object.placeholder,
        type: object.type,
        value: object.value) %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-2.9.9 app/pb_kits/playbook/pb_text_input/_text_input.html.erb
playbook_ui-2.9.8 app/pb_kits/playbook/pb_text_input/_text_input.html.erb