JumarWeb.AuthLayout (Jumar v0.1.0)

View Source

A very basic centered page layout for authentication pages like the sign in and register pages.

Summary

Functions

Renders the auth layout.

Functions

auth_layout(assigns)

Renders the auth layout.

Examples

<AuthLayout.auth_layout flash={@flash}>
  <h1>Content</h1>
</AuthLayout.auth_layout>

Attributes

  • flash (:map) (required) - the map of flash messages.
  • current_scope (:map) - the current scope. Defaults to nil.

Slots

  • inner_block (required)