Sha256: e962bdc6a28bbbe15ba5c6634821e15e978fec0b305b161c1061ed06b5cdd459

Contents?: true

Size: 372 Bytes

Versions: 111

Compression:

Stored size: 372 Bytes

Contents

class PageNotFoundComponent < BaseComponent
  def alert_wrapped(view_context)
    AlertComponent.new(type: alert_type, dismissible: false)
                  .with_content(render_in(view_context))
  end

  def alert_type
    :warning
  end

  erb_template <<~ERB
    <div>
      <div class="mb-1">
        La página que buscás no existe
      </div>
    </div>
  ERB
end

Version data entries

111 entries across 111 versions & 1 rubygems

Version Path
pg_rails-7.6.35 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.34 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.33 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.32 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.31 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.30 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.29 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.28 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.27 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.26 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.25 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.24 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.24.pre.5 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.24.pre.4 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.24.pre.3 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.23 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.22 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.22.pre.3 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.22.pre.2 pg_engine/app/components/page_not_found_component.rb
pg_rails-7.6.22.pre.1 pg_engine/app/components/page_not_found_component.rb