mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-25 13:01:08 +00:00
54c6d21fc5
* initial RTL support * fix dir in template-util * fix dir in blogs new * fix dir in blogs details * fix dir in posts new * fix dir in posts details * fix dir in posts remote * Fix dir in partials some parts should be recheck carefully in real usage
14 lines
692 B
HTML
14 lines
692 B
HTML
@use templates::remote_interact_base;
|
|
@use templates::partials::post_card;
|
|
@use plume_models::posts::Post;
|
|
@use routes::RemoteForm;
|
|
@use routes::session::LoginForm;
|
|
@use template_utils::*;
|
|
@use validator::ValidationErrors;
|
|
|
|
@(ctx: BaseContext, post: Post, login_form: LoginForm, login_errs: ValidationErrors, remote_form: RemoteForm, remote_errs: ValidationErrors)
|
|
|
|
@:remote_interact_base(ctx, i18n!(ctx.1, "Interact with {}"; post.title.clone()), i18n!(ctx.1, "Log in to interact"), i18n!(ctx.1, "Enter your full username to interact"), {
|
|
<h1 dir="auto">@i18n!(ctx.1, "Interact with {}"; post.title.clone())</h1>
|
|
@:post_card(ctx, post)
|
|
}, login_form, login_errs, remote_form, remote_errs)
|