mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-29 07:29:44 -08:00
61 lines
2.1 KiB
PHP
61 lines
2.1 KiB
PHP
|
@extends('layouts/default')
|
||
|
|
||
|
{{-- Page title --}}
|
||
|
@section('title')
|
||
|
{{ trans('admin/hardware/general.checkin') }}
|
||
|
@parent
|
||
|
@stop
|
||
|
|
||
|
{{-- Page content --}}
|
||
|
@section('content')
|
||
|
|
||
|
<div class="row header">
|
||
|
<div class="col-md-12">
|
||
|
<a href="{{ URL::previous() }}" class="btn-flat gray pull-right"><i class="fa fa-arrow-left icon-white"></i> {{ trans('general.back') }}</a>
|
||
|
<h3> {{ trans('general.checkin') }}</h3>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="row form-wrapper">
|
||
|
<!-- left column -->
|
||
|
<div class="col-md-10 column">
|
||
|
|
||
|
<form class="form-horizontal" method="post" action="" autocomplete="off">
|
||
|
<!-- CSRF Token -->
|
||
|
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
|
||
|
|
||
|
|
||
|
|
||
|
@if ($accessory->name)
|
||
|
<!-- accessory name -->
|
||
|
<div class="form-group">
|
||
|
<label class="col-sm-2 control-label">{{ trans('admin/hardware/form.name') }}</label>
|
||
|
<div class="col-md-6">
|
||
|
<p class="form-control-static">{{ $accessory->name }}</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
@endif
|
||
|
|
||
|
<!-- Note -->
|
||
|
<div class="form-group {{ $errors->has('note') ? 'error' : '' }}">
|
||
|
<label for="note" class="col-md-2 control-label">{{ trans('admin/hardware/form.notes') }}</label>
|
||
|
<div class="col-md-7">
|
||
|
<textarea class="col-md-6 form-control" id="note" name="note">{{ Input::old('note', $accessory->note) }}</textarea>
|
||
|
{!! $errors->first('note', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- Form actions -->
|
||
|
<div class="form-group">
|
||
|
<label class="col-md-2 control-label"></label>
|
||
|
<div class="col-md-7">
|
||
|
<a class="btn btn-link" href="{{ URL::previous() }}">{{ trans('button.cancel') }}</a>
|
||
|
<button type="submit" class="btn btn-success"><i class="fa fa-check icon-white"></i>{{ trans('general.checkin') }}</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
@stop
|