mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 23:19:42 -08:00
57 lines
1.5 KiB
PHP
57 lines
1.5 KiB
PHP
|
@extends('layouts.default')
|
|||
|
|
|||
|
{{-- Page title --}}
|
|||
|
@section('title')
|
|||
|
@if ($item->id)
|
|||
|
{{ $updateText }}
|
|||
|
@else
|
|||
|
{{ $createText }}
|
|||
|
@endif
|
|||
|
@parent
|
|||
|
@stop
|
|||
|
|
|||
|
@section('header_right')
|
|||
|
<a href="{{ URL::previous() }}" class="btn btn-primary pull-right">
|
|||
|
{{ trans('general.back') }}</a>
|
|||
|
@stop
|
|||
|
|
|||
|
|
|||
|
|
|||
|
{{-- Page content --}}
|
|||
|
|
|||
|
@section('content')
|
|||
|
|
|||
|
<div class="row">
|
|||
|
<div class="col-md-8 col-md-offset-2">
|
|||
|
<div class="box box-default">
|
|||
|
<div class="box-header with-border">
|
|||
|
<h3 class="box-title">
|
|||
|
@if ($item->id)
|
|||
|
{{ $item->display_name }}
|
|||
|
@endif
|
|||
|
</h3>
|
|||
|
<div class="box-tools pull-right">
|
|||
|
<button class="slideout-menu-toggle btn btn-box-tool btn-box-tool-lg" data-toggle="tooltip" title="Help"><i class="fa fa-question"></i></button>
|
|||
|
</div>
|
|||
|
</div><!-- /.box-header -->
|
|||
|
|
|||
|
<div class="box-body">
|
|||
|
<form id="create-form" class="form-horizontal" method="post" action="" autocomplete="off" role="form" enctype="multipart/form-data">
|
|||
|
<!-- CSRF Token -->
|
|||
|
{{ csrf_field() }}
|
|||
|
@yield('inputFields')
|
|||
|
@include('partials.forms.edit.submit')
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="slideout-menu">
|
|||
|
<a href="#" class="slideout-menu-toggle pull-right">×</a>
|
|||
|
<h3>
|
|||
|
{{ $helpTitle}}
|
|||
|
</h3>
|
|||
|
<p>{{ $helpText }} </p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
@stop
|