@extends('admin.layouts.main',array( 'scripts' => array( path_asset('path.backoffice.js_path') . '/view/configurations/backend-configuration-form.js' ) )) @section('content') @if($canView)

Manage Configurations

{!! Form::open() !!}
{!! Form::text('mailchimp_key', $mailchimp_key ? $mailchimp_key->value : null, array( 'id' => 'mailchimp-key_input', 'class' => 'form-control', 'maxlength' => '255', 'data-toggle' => ($errors->has('mailchimp_key') ? 'tooltip': null), 'title' => ($errors->has('mailchimp_key') ? $errors->first('mailchimp_key'): null), 'disabled' => $canEdit ? null : 'disabled')) !!}
{!! Form::text('mailchimp_list_id', $mailchimp_list_id ? $mailchimp_list_id->value : null, array( 'id' => 'mailchimp-list-id_input', 'class' => 'form-control', 'maxlength' => '255', 'data-toggle' => ($errors->has('mailchimp_list_id') ? 'tooltip': null), 'title' => ($errors->has('mailchimp_list_id') ? $errors->first('mailchimp_list_id'): null), 'disabled' => $canEdit ? null : 'disabled')) !!}
{!! Form::text('contact_form_emails', $contact_form_emails ? $contact_form_emails->value : null, array( 'id' => 'contact-form-emails_input', 'class' => 'form-control', 'maxlength' => '255', 'data-toggle' => ($errors->has('contact_form_emails') ? 'tooltip': null), 'title' => ($errors->has('contact_form_emails') ? $errors->first('contact_form_emails'): null), 'disabled' => $canEdit ? null : 'disabled')) !!}
{!! Form::text('google_analytics', $google_analytics ? $google_analytics->value : null, array( 'id' => 'google-analytics_input', 'class' => 'form-control', 'maxlength' => '255', 'data-toggle' => ($errors->has('google_analytics') ? 'tooltip': null), 'title' => ($errors->has('google_analytics') ? $errors->first('google_analytics'): null), 'disabled' => $canEdit ? null : 'disabled')) !!}
@if($canEdit)
{!! Form::submit(Lang::get('backend.save'), array('class' => 'btn btn-primary')) !!}
@endif {!! Form::close() !!}
@endif @stop