Sha256: e23174c6bbccb39e7dc224ae85dcd18285d239dd3d68390e6665c0128a1e9dd1
Contents?: true
Size: 1012 Bytes
Versions: 17
Compression:
Stored size: 1012 Bytes
Contents
= helpers.turbo_frame_tag(@frame_id, class: 'inline-edit') div data-controller="pg_form" = helpers.pg_form_for(@model, render_errors: false, wrapper_mappings: @wrapper_mappings) do |f| = hidden_field_tag :inline_attribute, @attribute / html5 solo aplica a datetime / date_selector solo aplica a date / ignore_date y prompt solo aplica a time / cada caso es inocuo para el resto de los types = f.field @unsuffixed_attribute, label: false, date_selector: true, minute_step: 15, ignore_date: true, prompt: { hour: 'hh', minute: 'mm' } .actions.d-flex.gap-1 = button_tag class: 'btn btn-sm btn-primary', data: { controller: 'tooltip', 'bs-title': 'Guardar' } do i.bi.bi-check-lg = link_to tenant_inline_show_path(model: @model.to_gid, attribute: @attribute), class: 'btn btn-sm btn-secondary', data: { controller: 'tooltip', 'bs-title': 'Cancelar' } do i.bi.bi-x-lg
Version data entries
17 entries across 17 versions & 1 rubygems