Sha256: 4f4f5bdb94d57f4a9084d9162ee57a8f5e12a8553a83d158dc5632096d6c2d41
Contents?: true
Size: 948 Bytes
Versions: 1
Compression:
Stored size: 948 Bytes
Contents
<%= content_tag(:div, class: object.classname) 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: "text_input_wrapper") do %> <% if object.children.present? %> <%= capture(&object.children) %> <% if object.error %> <%= pb_rails("body", props: {dark: object.dark, status: "negative", text: object.error}) %> <% end %> <% else %> <%= tag(:input, id: object.id, class: object.classname, data: object.data, name: object.name, placeholder: object.placeholder, type: object.type, value: object.value) %> <% if object.error %> <%= pb_rails("body", props: {dark: object.dark, status: "negative", text: object.error}) %> <% end %> <% end %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-3.5.0 | app/pb_kits/playbook/pb_text_input/_text_input.html.erb |