@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/hardware/general.checkout') }} @parent @stop {{-- Page content --}} @section('content')

{{ trans('admin/hardware/form.tag') }} {{ $asset->asset_tag }}

@if ($asset->model->name)
{{ Form::label('name', trans('admin/hardware/form.model')) }}

{{ $asset->model->name }}

@endif
{{ Form::label('name', trans('admin/hardware/form.name')) }}
{!! $errors->first('name', ' :message') !!}
{{ Form::label('assigned_to', trans('admin/hardware/form.checkout_to')) }}
{{ Form::select('assigned_to', $users_list , Input::old('assigned_to', $asset->assigned_to), array('id'=>'checkout_to_user','class'=>'select2', 'style'=>'min-width:350px')) }} {!! $errors->first('assigned_to', ' :message') !!}
{{ Form::label('name', trans('admin/hardware/form.checkout_date')) }}
{!! $errors->first('checkout_at', ' :message') !!}
{{ Form::label('name', trans('admin/hardware/form.expected_checkin')) }}
{!! $errors->first('expected_checkin', ' :message') !!}
{{ Form::label('note', trans('admin/hardware/form.notes')) }}
{!! $errors->first('note', ' :message') !!}
@if ($asset->requireAcceptance())

{{ trans('admin/categories/general.required_acceptance') }}

@endif @if ($asset->getEula())

{{ trans('admin/categories/general.required_eula') }}

@endif
@section('moar_scripts') @stop @stop