Add now in date value

This commit is contained in:
Michael RICOIS 2017-06-23 10:42:13 +02:00
parent 0857893eb0
commit a39fe023cd

View File

@ -9,7 +9,7 @@
{/foreach}
{elseif $optGroup['type'] == 'date'}
<label>{$optGroup['name']}</label>
<input type="date" class="optgroup-datepicker" class="configurator-opt" name="optgroup-{$optGroup['id_configurator_opt_group']}-{$optImpact['id_configurator_opt']}" value="" />
<input type="date" class="optgroup-datepicker" class="configurator-opt" name="optgroup-{$optGroup['id_configurator_opt_group']}-{$optImpact['id_configurator_opt']}" value="{$smarty.now|date_format:"%D"}" />
{elseif $optGroup['type'] == 'file'}