|
|
@ -1,21 +1,21 @@ |
|
|
@extends('layouts.dashboard') |
|
|
@extends('layouts.dashboard') |
|
|
|
|
|
|
|
|
@section('title', trans('agency.edit')) |
|
|
|
|
|
|
|
|
@section('title', __('agency.edit')) |
|
|
|
|
|
|
|
|
@section('content-dashboard') |
|
|
@section('content-dashboard') |
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
{{ Form::open(['route' => 'users.agency.update', 'method' => 'patch']) }} |
|
|
{{ Form::open(['route' => 'users.agency.update', 'method' => 'patch']) }} |
|
|
<div class="col-md-4"> |
|
|
<div class="col-md-4"> |
|
|
<legend>{{ trans('agency.detail') }}</legend> |
|
|
|
|
|
|
|
|
<legend>{{ __('agency.detail') }}</legend> |
|
|
{!! FormField::text('name', ['value' => Option::get('agency_name')]) !!} |
|
|
{!! FormField::text('name', ['value' => Option::get('agency_name')]) !!} |
|
|
{!! FormField::text('tagline', ['value' => Option::get('agency_tagline')]) !!} |
|
|
{!! FormField::text('tagline', ['value' => Option::get('agency_tagline')]) !!} |
|
|
{{ Form::submit(trans('agency.update'), ['class' => 'btn btn-info']) }} |
|
|
|
|
|
{{ link_to_route('users.agency.show', trans('app.cancel'), [], ['class' => 'btn btn-default']) }} |
|
|
|
|
|
|
|
|
{{ Form::submit(__('agency.update'), ['class' => 'btn btn-info']) }} |
|
|
|
|
|
{{ link_to_route('users.agency.show', __('app.cancel'), [], ['class' => 'btn btn-default']) }} |
|
|
<br> |
|
|
<br> |
|
|
<br> |
|
|
<br> |
|
|
</div> |
|
|
</div> |
|
|
<div class="col-md-5"> |
|
|
<div class="col-md-5"> |
|
|
<legend>{{ trans('contact.contact') }}</legend> |
|
|
|
|
|
|
|
|
<legend>{{ __('contact.contact') }}</legend> |
|
|
<div class="row"> |
|
|
<div class="row"> |
|
|
<div class="col-md-6">{!! FormField::email('email', ['value' => Option::get('agency_email')]) !!}</div> |
|
|
<div class="col-md-6">{!! FormField::email('email', ['value' => Option::get('agency_email')]) !!}</div> |
|
|
<div class="col-md-6">{!! FormField::text('phone', ['value' => Option::get('agency_phone')]) !!}</div> |
|
|
<div class="col-md-6">{!! FormField::text('phone', ['value' => Option::get('agency_phone')]) !!}</div> |
|
|
@ -27,13 +27,13 @@ |
|
|
{{ Form::close() }} |
|
|
{{ Form::close() }} |
|
|
<div class="col-md-3 text-center"> |
|
|
<div class="col-md-3 text-center"> |
|
|
{{ Form::open(['route' => 'users.agency.logo-upload', 'method' => 'patch', 'files' => true]) }} |
|
|
{{ Form::open(['route' => 'users.agency.logo-upload', 'method' => 'patch', 'files' => true]) }} |
|
|
<legend>{{ trans('agency.logo') }}</legend> |
|
|
|
|
|
|
|
|
<legend>{{ __('agency.logo') }}</legend> |
|
|
<p>{!! appLogoImage(['style' => 'margin:20px auto']) !!}</p> |
|
|
<p>{!! appLogoImage(['style' => 'margin:20px auto']) !!}</p> |
|
|
{!! FormField::file('logo', [ |
|
|
{!! FormField::file('logo', [ |
|
|
'label' => trans('agency.logo_change'), |
|
|
|
|
|
'info' => ['text' => trans('agency.logo_upload_info'), 'class' => 'danger'], |
|
|
|
|
|
|
|
|
'label' => __('agency.logo_change'), |
|
|
|
|
|
'info' => ['text' => __('agency.logo_upload_info'), 'class' => 'warning'], |
|
|
]) !!} |
|
|
]) !!} |
|
|
{{ Form::submit(trans('agency.logo_upload'), ['class' => 'btn btn-default']) }} |
|
|
|
|
|
|
|
|
{{ Form::submit(__('agency.logo_upload'), ['class' => 'btn btn-default']) }} |
|
|
{{ Form::close() }} |
|
|
{{ Form::close() }} |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|