FEATURE: move contactform into own repository
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user