mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-27 06:29:47 -08:00
54 lines
1.8 KiB
PHP
54 lines
1.8 KiB
PHP
@extends('layouts/default')
|
|
|
|
{{-- Page title --}}
|
|
@section('title')
|
|
{{ trans('admin/custom_fields/general.create_fieldset') }}
|
|
@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-9">
|
|
<!-- Horizontal Form -->
|
|
<div class="box box-default">
|
|
<div class="box-body">
|
|
|
|
|
|
{{ Form::open(['route' => 'admin.custom_fields.store', 'class'=>'form-horizontal']) }}
|
|
<!-- CSRF Token -->
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}" />
|
|
|
|
<!-- Name -->
|
|
<div class="form-group {{ $errors->has('name') ? ' has-error' : '' }}">
|
|
<label for="name" class="col-md-4 control-label">{{ trans('admin/custom_fields/general.fieldset_name') }}
|
|
<i class='fa fa-asterisk'></i></label>
|
|
</label>
|
|
<div class="col-md-6">
|
|
<input class="form-control" type="text" name="name" id="name" value="{{ Input::old('name') }}" />
|
|
{!! $errors->first('name', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box-footer text-right">
|
|
<button type="submit" class="btn btn-success"><i class="fa fa-check icon-white"></i> {{ trans('general.save') }}</button>
|
|
</div>
|
|
|
|
|
|
{{ Form::close() }}
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<h4>About Fieldsets</h4>
|
|
<p>Fieldsets work like containers of the custom fields you've created. This allows you to group commonly used custom attributes together for easy associations. </p>
|
|
</div>
|
|
|
|
@stop
|