fradrive/backend/templates/widgets/delete-confirmation/delete-confirmation.hamlet
Sarah Vaupel 72f5a9fb37 build: move backend-related files into backend dir; implement and connect services via docker-compose
TODOs left: reimplement clean and help, sync static,well-known and assets between services
2025-03-23 04:52:49 +01:00

29 lines
535 B
Plaintext

$newline never
$# SPDX-FileCopyrightText: 2022 Gregor Kleen <gregor.kleen@ifi.lmu.de>
$#
$# SPDX-License-Identifier: AGPL-3.0-or-later
<p>_{drCaption}
$case targets
$of [(wdgt, _)]
<p>^{wdgt}
$of _
<ul>
$forall (wdgt, _) <- targets
<li>
^{wdgt}
<p>
$if Text.null (Text.strip confirmString)
_{SomeMessage $ MsgDeletePressButtonIfSure (Set.size drRecords)}
$else
_{SomeMessage $ MsgDeleteCopyStringIfSure (Set.size drRecords)}
<p .confirmationText>
#{confirmString}
^{deleteForm}