2017-01-25 04:31:18 -08:00
|
|
|
@extends('layouts.default')
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
{{-- 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">
|
2016-12-27 12:03:47 -08:00
|
|
|
<div class="col-md-9">
|
2017-01-25 04:31:18 -08:00
|
|
|
|
2017-01-18 04:58:31 -08:00
|
|
|
{{ Form::open(['route' => 'fieldsets.store', 'class'=>'form-horizontal']) }}
|
2016-12-27 12:03:47 -08:00
|
|
|
<!-- Horizontal Form -->
|
2016-03-25 01:18:05 -07:00
|
|
|
<div class="box box-default">
|
|
|
|
<div class="box-body">
|
2017-01-18 04:58:31 -08:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
<!-- 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') }}
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6">
|
2021-09-26 01:11:08 -07:00
|
|
|
<input class="form-control" type="text" name="name" id="name" value="{{ old('name') }}" required>
|
|
|
|
{!! $errors->first('name', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
2016-12-27 12:03:47 -08:00
|
|
|
</div>
|
2017-01-18 04:58:31 -08:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
</div> <!-- /.box-body-->
|
|
|
|
<div class="box-footer text-right">
|
2021-09-26 01:11:08 -07:00
|
|
|
<button type="submit" class="btn btn-success"><i class="fas fa-check icon-white" aria-hidden="true"></i> {{ trans('general.save') }}</button>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
2017-01-18 04:58:31 -08:00
|
|
|
|
2016-12-27 12:03:47 -08:00
|
|
|
</div> <!-- /.box.box-default-->
|
2017-01-18 04:58:31 -08:00
|
|
|
{{ Form::close() }}
|
2016-12-27 12:03:47 -08:00
|
|
|
</div>
|
|
|
|
<div class="col-md-3">
|
2020-04-01 03:51:08 -07:00
|
|
|
<h2>About Fieldsets</h4>
|
2016-12-27 12:03:47 -08:00
|
|
|
<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>
|
2016-03-25 01:18:05 -07:00
|
|
|
</div>
|
|
|
|
@stop
|