{!! \Helper::cspMetaTag() !!} Contact us @php try { @endphp {!! Minify::stylesheet(\Eventy::filter('stylesheets', array('/css/bootstrap.css', \Module::getPublicPath(EUP_MODULE).'/css/style.css', \Module::getPublicPath(EUP_MODULE).'/css/widget_form.css'))) !!} @php } catch (\Exception $e) { // Try...catch is needed to catch errors when activating a module and public symlink not created for module. \Helper::logException($e); } @endphp @yield('eup_stylesheets')
@if (Request::get('back_url')) @endif @yield('title')
@yield('content')
{{-- Scripts --}} @php try { @endphp {!! Minify::javascript(\Eventy::filter('eup.widget_form.javascripts', ['/js/jquery.js', '/js/bootstrap.js', '/js/lang.js', '/storage/js/vars.js', '/js/laroute.js', \Module::getPublicPath(EUP_MODULE).'/js/laroute.js', \Module::getPublicPath(EUP_MODULE).'/js/main.js', \Module::getPublicPath(EUP_MODULE).'/js/widget_form.js', '/js/main.js'])) !!} @php } catch (\Exception $e) { // To prevent 500 errors on update. // Also catches errors when activating a module and public symlink not created for module. if (strstr($e->getMessage(), 'vars.js')) { \Artisan::call('freescout:generate-vars'); } \Helper::logException($e); } @endphp @yield('eup_javascripts')