when using macros!() we need to import the things that they use

This commit is contained in:
Igor Galić
2020-01-27 23:45:09 +01:00
parent 45c335e17b
commit 022e037eea
6 changed files with 12 additions and 1 deletions
+2
View File
@@ -5,10 +5,12 @@
@use crate::template_utils::*;
@use crate::templates::base;
@use crate::templates::partials::image_select;
@use crate::routes::Page;
@use crate::routes::blogs;
@use crate::routes::blogs::EditForm;
@use crate::routes::medias;
@(ctx: BaseContext, blog: &Blog, medias: Vec<Media>, form: &EditForm, errors: ValidationErrors)
@:base(ctx, i18n!(ctx.1, "Edit \"{}\""; &blog.title), {}, {