Sha256: 63bf62f13535abd6aaf29e05178074c2b8bb5d71868bb2d66fa0961098384330

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

= render ModalContentComponent.new do |content|
  - content.with_header do
    / TODO: render breadcrumbs?
    - if @record.persisted?
      = link_to @record.target_object do
        | Ir al #{@record.class.nombre_singular.downcase}
      span.ms-1 ยป Modificando
    - else
      .fs-5 = @record.decorate.submit_default_value

  / - content.with_actions do
    = render @record.actions_component

  - content.with_body do
    = render partial: 'form', locals: { object: @record }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pg_rails-7.3.0 pg_engine/app/components/form_modal_component.html.slim