mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-21 02:08:17 +03:00
Fix field
This commit is contained in:
parent
28e21c9567
commit
219b75e747
|
@ -2,7 +2,8 @@
|
||||||
{if $property->getParam('use_time')}
|
{if $property->getParam('use_time')}
|
||||||
{$_mods='inline'}
|
{$_mods='inline'}
|
||||||
{/if}
|
{/if}
|
||||||
{component 'field.date' mods = $_mods
|
{component 'field.date'
|
||||||
|
mods = $_mods
|
||||||
name = "property[{$property->getId()}][date]"
|
name = "property[{$property->getId()}][date]"
|
||||||
inputAttributes=[ "data-lsdate-format" => 'DD.MM.YYYY' ]
|
inputAttributes=[ "data-lsdate-format" => 'DD.MM.YYYY' ]
|
||||||
inputClasses = "js-field-date-default"
|
inputClasses = "js-field-date-default"
|
||||||
|
@ -11,8 +12,10 @@
|
||||||
label = $property->getTitle()}
|
label = $property->getTitle()}
|
||||||
|
|
||||||
{if $property->getParam('use_time')}
|
{if $property->getParam('use_time')}
|
||||||
{component 'field.time' mods = $_mods
|
{component 'field.time'
|
||||||
|
mods = "{$_mods} hide-label"
|
||||||
name = "property[{$property->getId()}][time]"
|
name = "property[{$property->getId()}][time]"
|
||||||
|
label = ' '
|
||||||
inputAttributes=[ "data-lstime-time-format" => 'H:i' ]
|
inputAttributes=[ "data-lstime-time-format" => 'H:i' ]
|
||||||
inputClasses = "js-field-time-default"
|
inputClasses = "js-field-time-default"
|
||||||
value = $property->getValue()->getValueTypeObject()->getValueTimeForForm()}
|
value = $property->getValue()->getValueTypeObject()->getValueTimeForForm()}
|
||||||
|
|
|
@ -38,7 +38,17 @@ select[multiple].ls-field-input { max-width: 300px; }
|
||||||
/**
|
/**
|
||||||
* Inline
|
* Inline
|
||||||
*/
|
*/
|
||||||
.ls-field--inline { display: inline-block; }
|
.ls-field--inline {
|
||||||
|
vertical-align: top;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hide label
|
||||||
|
*/
|
||||||
|
.ls-field--hide-label .ls-field-label {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checkbox
|
* Checkbox
|
||||||
|
|
Loading…
Reference in a new issue