Added settings for company info. Added code for entity validation.
This commit is contained in:
@@ -75,3 +75,19 @@ pub fn ModalFooter(cx: Scope, children: Children) -> impl IntoView {
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
||||
#[component]
|
||||
pub fn DlgNotLoaded(cx: Scope, opener: DialogOpener, title: &'static str) -> impl IntoView {
|
||||
view! {cx,
|
||||
<ModalDialog opener=opener title=title>
|
||||
<ModalBody>
|
||||
<div>{trl(cx, "Entity not loaded")}</div>
|
||||
</ModalBody>
|
||||
<ModalFooter>
|
||||
<button type="button" class="btn btn-outline-secondary" data-bs-dismiss="modal" on:click=move |_| opener.hide()>
|
||||
{trl(cx, "Close")}
|
||||
</button>
|
||||
</ModalFooter>
|
||||
</ModalDialog>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user