Add step fields to enable decimal points on fields #342 (#343)

* Add step fields to enable decimal points on fields #342

* Update js-yaml version due to vulnerability scan

* Don't seed dev files when env == local

* Fix

* Fix  to be static

* Add visibilty keyword
This commit is contained in:
Nabeel S
2019-08-06 15:54:21 -04:00
committed by GitHub
parent 6292b05ad5
commit 092b9fc9dc
16 changed files with 41 additions and 47 deletions

View File

@@ -24,8 +24,10 @@
@elseif($setting->type === 'boolean' || $setting->type === 'bool')
{{ Form::hidden($setting->id, 0) }}
{{ Form::checkbox($setting->id, null, $setting->value) }}
@elseif($setting->type === 'int' || $setting->type === 'number')
@elseif($setting->type === 'int')
{{ Form::number($setting->id, $setting->value, ['class'=>'form-control']) }}
@elseif($setting->type === 'number')
{{ Form::number($setting->id, $setting->value, ['class'=>'form-control', 'step' => '0.01']) }}
@elseif($setting->type === 'select')
{{ Form::select(
$setting->id,