@extends('layout.default') @if($mode == 'edit') @section('title', $__t('Edit equipment')) @else @section('title', $__t('Create equipment')) @endif @section('viewJsName', 'equipmentform') @section('content')

@yield('title')


@if($mode == 'edit') @if(!empty($equipment->instruction_manual_file_name)) @endif @endif
{{ $__t('A name is required') }}
@include('components.userfieldsform', array( 'userfields' => $userfields, 'entity' => 'equipment' ))
@if(!empty($equipment->instruction_manual_file_name))

{{ $__t('The current file will be deleted on save') }}

@endif
@stop