Sha256: 210c36a92ac6fba93d3a83e5611bde130a4a88cab260702848d10f88fc51083d

Contents?: true

Size: 483 Bytes

Versions: 8

Compression:

Stored size: 483 Bytes

Contents

<%= content_tag(:div,
    class: "pb_input") 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.8.4 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.3 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.8.1 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.7.2 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.7.1 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.7.0 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.6.0 app/pb_kits/playbook/pb_input/_input.html.erb
playbook_ui-2.5.0 app/pb_kits/playbook/pb_input/_input.html.erb