Sha256: c0cabff1743735dc8607cf27551f8732d2b8ce657f99c67edceb3067804aca58

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

<%= content_tag(:div,
    class: "pb_input_kit") do %>
  <% if object.label.present? %>
    <%= pb_rails("caption", props: {text: object.label}) %>
  <% end %>
  <%= content_tag(:div,
      class: "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

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.9.7 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.9.6 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.9.5 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.9.4 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.9.3 app/pb_kits/playbook/pb_input/_input.html.erb