Sha256: e4af27e5e26447c31260ad62f86bfecfb75762a7b576389e3cbd4c4ffb9ee98e

Contents?: true

Size: 487 Bytes

Versions: 8

Compression:

Stored size: 487 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("input_field"),
        name: object.name,
        placeholder: object.placeholder,
        type: object.type,
        value: object.value) %>
  <% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
playbook_ui-2.9.2 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.9.1 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.9.0 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.9 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.8 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.7 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.6 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.5 app/pb_kits/playbook/pb_input/_input.html.erb