add: upload alt text
This commit is contained in:
parent
3b5b0ce1a1
commit
e0e38b2b32
13 changed files with 224 additions and 59 deletions
|
@ -22,8 +22,14 @@ pub async fn seller_settings_request(
|
|||
}
|
||||
};
|
||||
|
||||
let products = match data.0.get_products_by_user(user.id).await {
|
||||
Ok(x) => x,
|
||||
Err(e) => return Err(Html(render_error(e, &jar, &data, &None).await)),
|
||||
};
|
||||
|
||||
let lang = get_lang!(jar, data.0);
|
||||
let context = initial_context(&data.0.0.0, lang, &Some(user)).await;
|
||||
let mut context = initial_context(&data.0.0.0, lang, &Some(user)).await;
|
||||
context.insert("list", &products);
|
||||
|
||||
// return
|
||||
Ok(Html(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue