Set user language to new recipe + cleaning
This commit is contained in:
parent
8b4b788562
commit
03ebbb74fa
12 changed files with 73 additions and 86 deletions
|
|
@ -133,13 +133,11 @@ pub struct RecipeEditTemplate {
|
|||
pub recipes: Recipes,
|
||||
|
||||
pub recipe: model::Recipe,
|
||||
pub languages: [(&'static str, &'static str); 2],
|
||||
}
|
||||
|
||||
#[derive(Template)]
|
||||
#[template(path = "recipes_list_fragment.html")]
|
||||
pub struct RecipesListFragmentTemplate {
|
||||
pub user: Option<model::User>,
|
||||
pub tr: Tr,
|
||||
|
||||
pub recipes: Recipes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue