1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 13:58:25 +01:00
This commit is contained in:
Thomas Zilio 2018-04-28 17:34:56 +02:00
parent 4006d3f980
commit 35bb5c9ce3

View File

@ -55,8 +55,28 @@ class DateHandler implements HandlerInterface
// Generazione del codice HTML di default // Generazione del codice HTML di default
if (empty($result)) { if (empty($result)) {
$result = ' if (empty($values['label'])) {
$result = '
<div class="form-group">';
}
if (empty($values['icon-before']) || empty($values['icon-after'])) {
$result .= '
<div class="input-group">';
}
$result .= '
<input |attr|>'; <input |attr|>';
if (empty($values['icon-before']) || empty($values['icon-after'])) {
$result .= '
</div>';
}
if (empty($values['label'])) {
$result .= '
</div>';
}
} }
return $result; return $result;