Sha256: 7266774d44b2531e4353161676305a7d888b1d5b04ce962c7b179a1407d46397
Contents?: true
Size: 1.17 KB
Versions: 20
Compression:
Stored size: 1.17 KB
Contents
<%= content_tag(:div, aria: object.aria, class: object.classname + object.error_class, data: object.data, id: object.id) do %> <div class="input_wrapper"> <%= pb_rails("text_input", props: { aria: object.input_aria, autocomplete: false, dark: object.dark, data: object.input_data, disabled: object.disable_input, error: object.error, id: object.picker_id, label: object.hide_label ? nil : object.label, name: object.name, placeholder: object.placeholder, required: object.required, type: object.type }) %> <% if !object.hide_icon %> <div class="<%= object.icon_wrapper_class %>" id="cal-icon-<%= object.picker_id %>" > <%= pb_rails("icon", props: { classname: "cal_icon", icon: "calendar-alt" }) %> </div> <% end %> </div> <%= javascript_tag do %> window.addEventListener("DOMContentLoaded", () => { datePickerHelper(<%= object.date_picker_config %>) }) <% end %> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems