2018-09-14 15:44:20 +02:00
|
|
|
<h2>#{prettyIndicatorEntry indicatorEntry}
|
|
|
|
|
|
|
|
<form method=post action=@{EditIndicatorR indicatorId}#form enctype=#{formEnctype}>
|
|
|
|
^{formWidget}
|
|
|
|
<button .btn .btn-primary type="submit">
|
|
|
|
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>
|
|
|
|
|
|
|
|
<h4>Targets
|
|
|
|
|
2019-02-22 09:53:00 +01:00
|
|
|
^{Table.buildBootstrap (targetTable mUser mPrecision) (indicatorEntryTargets indicatorEntry)}
|
2018-09-14 15:44:20 +02:00
|
|
|
|
|
|
|
$if (checkIfAdmin mUser)
|
|
|
|
<h4>Add a new target
|
|
|
|
<form method=post action=@{AddTargetR indicatorId}#form enctype=#{addTargetFormEnctype}>
|
|
|
|
^{addTargetformWidget}
|
|
|
|
<button .btn .btn-primary type="submit">
|
|
|
|
_{MsgSubmit} <span class="glyphicon glyphicon-upload"></span>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<p><a href=@{DashboardR}>Back to Dashboard</p>
|