Sha256: 15537d6b5ae833e4d5c1a8da72c69840ec986cfd6cc77006ffa2b64df0753d39
Contents?: true
Size: 998 Bytes
Versions: 70
Compression:
Stored size: 998 Bytes
Contents
<%= content_tag(:div, aria: object.aria, class: object.classname, data: object.data) 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 content.present? %> <%= content %> <% else %> <%= tag(:input, autocomplete: object.autocomplete ? nil : "off", class: "text_input", data: object.validation_data, disabled: object.disabled, id: object.id, name: object.name, pattern: object.validation_pattern, placeholder: object.placeholder, required: object.required, type: object.type, value: object.value) %> <% end %> <% if object.error %> <%= pb_rails("body", props: {dark: object.dark, status: "negative", text: object.error}) %> <% end %> <% end %> <% end %>
Version data entries
70 entries across 70 versions & 1 rubygems