@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/settings/general.google_login') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') {{ Form::open(['method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}}

{{ trans('admin/settings/general.google_login') }}

Redirect URL

{{ config('app.url') }}/google/callback

{!! trans('admin/settings/general.google_callback_help') !!}

{{ trans('admin/settings/general.enable_google_login_help') }}

{{ Form::label('google_client_id', 'Client ID') }}
{{ Form::text('google_client_id', old('google_client_id', $setting->google_client_id), ['class' => 'form-control','placeholder' => trans('general.example') .'000000000000-XXXXXXXXXXX.apps.googleusercontent.com', (config('app.lock_passwords')===true) ? 'disabled': '']) }} {!! $errors->first('google_client_id', '') !!} @if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@endif
{{ Form::label('google_client_secret', 'Client Secret') }}
@if (config('app.lock_passwords')===true) {{ Form::text('google_client_secret', 'XXXXXXXXXXXXXXXXXXXXXXX', ['class' => 'form-control', 'disabled']) }} @else {{ Form::text('google_client_secret', old('google_client_secret', $setting->google_client_secret), ['class' => 'form-control','placeholder' => trans('general.example') .'XXXXXXXXXXXX']) }} @endif {!! $errors->first('google_client_secret', '') !!} @if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@endif
{{Form::close()}} @stop