19 lines
644 B
PHP
Executable File
19 lines
644 B
PHP
Executable File
<form action="{{$action}}" method="POST">
|
|
@include('admin.widgets.snippets.commonForm')
|
|
|
|
<label class="label-control">
|
|
@lang('contactform::admin/widgets.selectContactForm')
|
|
</label>
|
|
|
|
<select class="form-control" name="contactFormId">
|
|
@foreach($forms as $form)
|
|
<option @if(old('contactFormId', isset($widget->settings->contactFormId) ? $widget->settings->contactFormId : '') == $form->id) selected @endif value="{{$form->id}}">{{$form->title}}</option>
|
|
@endforeach
|
|
</select>
|
|
|
|
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
@lang('widgets/htmlCode.save')
|
|
</button>
|
|
</form> |