@extends(Theme::viewName('layout')) @section('title', trans('admin.edit_service_title', ['name' => $service->name])) @section('breadcrumb') @endsection @section('content')

@yield('title')

@lang('admin.edit_service_intro')


{{ csrf_field() }} {{ method_field('PUT') }}
@if ($errors->has('service_type'))
{{ $errors->first('service_type') }}
@endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($service->isFacebook()) @include(Theme::viewName('partials.admin_services_oauth_options'), ['oauthService' => \App\ExternalService::FACEBOOK]) @elseif ($service->isGoogle()) @include(Theme::viewName('partials.admin_services_oauth_options'), ['oauthService' => \App\ExternalService::GOOGLE]) @elseif ($service->isDropbox()) @include(Theme::viewName('partials.admin_services_oauth_options'), ['oauthService' => \App\ExternalService::DROPBOX]) @elseif ($service->isTwitter()) @include(Theme::viewName('partials.admin_services_oauth_options'), ['oauthService' => \App\ExternalService::TWITTER]) @endif
@lang('forms.cancel_action')
@endsection