@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.audit') }} @parent @stop {{-- Page content --}} @section('content')
{{ Form::open([ 'method' => 'POST', 'route' => ['asset.audit.store', $asset->id], 'files' => true, 'class' => 'form-horizontal' ]) }}

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

{{csrf_field()}} @if ($asset->model->name)
{{ Form::label('name', trans('admin/hardware/form.model'), array('class' => 'col-md-3 control-label')) }}

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

@endif
{{ Form::label('name', trans('admin/hardware/form.name'), array('class' => 'col-md-3 control-label')) }}

{{ $asset->name }}

@include ('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id'])
@include ('partials.more-info', ['helpText' => trans('help.audit_help'), 'helpPosition' => 'right'])
{{ Form::label('name', trans('general.next_audit_date'), array('class' => 'col-md-3 control-label')) }}
{!! $errors->first('next_audit_date', '') !!}
{{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }}
{!! $errors->first('note', '') !!}
@include ('partials.forms.edit.image-upload')
@stop