Added czech translations. UI tweak on booking form.
This commit is contained in:
@@ -3,6 +3,7 @@ use crate::backend::data::WeekHours;
|
||||
use crate::backend::opening_hours::UpdateHours;
|
||||
use crate::components::data_form::DataForm;
|
||||
use crate::components::modal_box::DialogOpener;
|
||||
use crate::locales::trl;
|
||||
|
||||
#[component]
|
||||
pub fn EditHours(opener: DialogOpener, hours: ReadSignal<WeekHours>) -> impl IntoView {
|
||||
@@ -13,7 +14,7 @@ pub fn EditHours(opener: DialogOpener, hours: ReadSignal<WeekHours>) -> impl Int
|
||||
<input type="hidden" value={move || hours.get().day().to_string()} name="hours[day]"/>
|
||||
<div class="row">
|
||||
<div class="col mb-3">
|
||||
<label for="hours" class="form-label">"Hours"</label>
|
||||
<label for="hours" class="form-label">{trl("Hours")}</label>
|
||||
<input
|
||||
type="text"
|
||||
id="hours"
|
||||
|
||||
Reference in New Issue
Block a user