FEATURE: move contactform into own repository

This commit is contained in:
Michal Kváček
2017-08-22 20:17:39 +02:00
commit 6b0509a1db
36 changed files with 1039 additions and 0 deletions
+19
View File
@@ -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>