This commit is contained in:
parent
d40bc0bb82
commit
d10fcc3da1
7 changed files with 68 additions and 46 deletions
|
|
@ -6,7 +6,9 @@ defmodule MvWeb.Layouts.Navbar do
|
|||
use Gettext, backend: MvWeb.Gettext
|
||||
use MvWeb, :verified_routes
|
||||
|
||||
attr :current_user, :map, required: true, doc: "The current user - navbar is only shown when user is present"
|
||||
attr :current_user, :map,
|
||||
required: true,
|
||||
doc: "The current user - navbar is only shown when user is present"
|
||||
|
||||
def navbar(assigns) do
|
||||
~H"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue