@extends('layouts.app') @section('content')
@if (isset($team_viewer)) {!! Form::model($team_viewer, ['route' => ['team-viewers.update', $team_viewer->id], 'class' => 'team_viewer-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!} @method('PUT') @else {!! Form::open(['route' => 'team-viewers.store', 'class' => 'team_viewer-form', 'enctype' => 'multipart/form-data', 'accept-charset' => 'UTF-8']) !!} @endif
{!! Form::label('branch_id', __('custom.attribute.branch_id')) !!} {!! Form::select('branch_id', Helper::getBranchesDropdown(), null, ['class' => 'form-control'], Helper::getOptionClasses(Helper::getBranchesDropdown())) !!}
{!! Form::label('touch_point_id', __('custom.attribute.touch_point_id')) !!} {!! Form::select('touch_point_id', Helper::getTouchPointsDropdown(), null, ['class' => 'form-control'], Helper::getOptionClasses(Helper::getTouchPointsDropdown())) !!}
{!! Form::label('title', __('custom.attribute.title')) !!} {!! Form::text('title', null, ['class' => 'form-control']) !!}
{!! Form::label('remote_control_id', __('custom.attribute.remote_control_id')) !!} {!! Form::text('remote_control_id', null, ['class' => 'form-control']) !!}
{!! Form::label('password', __('custom.attribute.password')) !!} {!! Form::text('password', null, ['class' => 'form-control']) !!}
{!! Form::close() !!}
@endsection