|
|
|
@ -29,13 +29,15 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" name="{{$set->key}}" @if($set->value == 'yes') checked @endif value="yes">
|
|
|
|
|
<input type="radio" name="{{$set->key}}"
|
|
|
|
|
@if($set->value == 'yes') checked @endif value="yes">
|
|
|
|
|
{{__("Yes")}}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="radio" name="{{$set->key}}" value="no" @if($set->value == 'no') checked @endif>
|
|
|
|
|
<input type="radio" name="{{$set->key}}" value="no"
|
|
|
|
|
@if($set->value == 'no') checked @endif>
|
|
|
|
|
{{__("No")}}
|
|
|
|
|
</label>
|
|
|
|
|
</div>
|
|
|
|
@ -66,7 +68,8 @@
|
|
|
|
|
</select>
|
|
|
|
|
@break
|
|
|
|
|
@case('image')
|
|
|
|
|
<img src="{{asset('images/'.str_replace('_','.',$set->key))}}" style="max-height: 150px" alt="cover">
|
|
|
|
|
<img src="{{asset('images/'.str_replace('_','.',$set->key))}}?{{time()}}"
|
|
|
|
|
class="img-fluid" style="max-height: 150px;max-width: 45%" alt="cover">
|
|
|
|
|
<input type="file" name="pic[{{$set->key}}]" id="{{$set->key}}"
|
|
|
|
|
accept="image/*"
|
|
|
|
|
class="form-control-file"/>
|
|
|
|
@ -82,8 +85,8 @@
|
|
|
|
|
</li>
|
|
|
|
|
@endforeach
|
|
|
|
|
<li class="list-group-item">
|
|
|
|
|
<input type="submit" value="{{__("Save")}}" class="btn btn-primary" />
|
|
|
|
|
<input type="reset" value="{{__("Reset")}}" class="btn btn-secondary" />
|
|
|
|
|
<input type="submit" value="{{__("Save")}}" class="btn btn-primary"/>
|
|
|
|
|
<input type="reset" value="{{__("Reset")}}" class="btn btn-secondary"/>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</form>
|
|
|
|
|