Service for editing/creating recipe
Other stuff...
This commit is contained in:
parent
adcf4a5a5d
commit
cc2e5b6893
15 changed files with 323 additions and 146 deletions
|
|
@ -4,10 +4,9 @@
|
|||
<div class="header-container">
|
||||
<a class="title" href="/">~~ Recettes de cuisine ~~</a>
|
||||
|
||||
<span class="create-recipe">Create a new recipe</span>
|
||||
|
||||
{% match user %}
|
||||
{% when Some with (user) %}
|
||||
<a class="create-recipe" href="/recipe/new" >Create a new recipe</a>
|
||||
<span>{{ user.email }} / <a href="/signout" />Sign out</a></span>
|
||||
{% when None %}
|
||||
<span><a href="/signin" >Sign in</a> / <a href="/signup">Sign up</a></span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue