@extends('admin.layouts.main',array( 'scripts' => array( path_asset('path.backoffice.js_path') . '/view/business/business-form.js' ) )) @section('content')

Manage Business Card

@if($canView)
@endif
{!! Form::model($businessCard) !!}
{!! Form::text('name', null, array( 'id' => 'name_input', 'class' => 'form-control', 'maxlength' => '250', 'data-toggle' => ($errors->has('name') ? 'tooltip': null), 'title' => ($errors->has('name') ? $errors->first('name'): null), 'disabled' => $canManage ? null : 'disabled')) !!}
{!! Form::text('role', null, array( 'id' => 'role_input', 'class' => 'form-control', 'maxlength' => '250', 'data-toggle' => ($errors->has('role') ? 'tooltip': null), 'title' => ($errors->has('role') ? $errors->first('role'): null), 'disabled' => $canManage ? null : 'disabled')) !!}
{!! Form::text('phone', null, array( 'id' => 'phone_input', 'class' => 'form-control', 'maxlength' => '20', 'data-toggle' => ($errors->has('phone') ? 'tooltip': null), 'title' => ($errors->has('phone') ? $errors->first('phone'): null), 'disabled' => $canManage ? null : 'disabled')) !!}
{!! Form::text('email', null, array( 'id' => 'email_input', 'class' => 'form-control', 'maxlength' => '100', 'data-toggle' => ($errors->has('email') ? 'tooltip': null), 'title' => ($errors->has('email') ? $errors->first('email'): null), 'disabled' => $canManage ? null : 'disabled')) !!}
{!! Form::text('website', null, array( 'id' => 'website_input', 'class' => 'form-control', 'maxlength' => '250', 'data-toggle' => ($errors->has('website') ? 'tooltip': null), 'title' => ($errors->has('website') ? $errors->first('website'): null), 'disabled' => $canManage ? null : 'disabled')) !!}
{!! Form::textarea('address', null, array( 'id' => 'address_input', 'class' => 'form-control', 'data-toggle' => ($errors->has('address') ? 'tooltip': null), 'title' => ($errors->has('address') ? $errors->first('address'): null), 'disabled' => $canManage ? null : 'disabled', 'rows' => 8 )) !!}
{!! Form::text('slug', null, array( 'id' => 'slug_input', 'class' => 'form-control', 'maxlength' => '250', 'data-toggle' => ($errors->has('slug') ? 'tooltip': null), 'title' => ($errors->has('slug') ? $errors->first('slug'): null), 'disabled' => $canManage ? null : 'disabled')) !!}
logo_lang === 'en' ? 'checked' : '' }}>
logo_lang === 'de' ? 'checked' : '' }}>
@if($canEdit)
{!! Form::submit(Lang::get('backend.save'), array('class' => 'btn btn-primary', 'id' => 'business_card_save_btn')) !!}
@endif {!! Form::close() !!}
@stop