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