52 lines
2.6 KiB
PHP
52 lines
2.6 KiB
PHP
@extends('layout.index', [
|
|
'title' => __('team.title'),
|
|
'subtitle' => __('team.edit.title'),
|
|
'breadcrumb' => [
|
|
__('team.title') => 'boilerplate.Users.Teams.index',
|
|
__('team.edit.title')
|
|
]
|
|
])
|
|
|
|
@include('boilerplate::load.icheck')
|
|
|
|
@section('content')
|
|
{{ Form::open(['route' => ['boilerplate.Users.Teams.update', $team->id], 'method' => 'put', 'autocomplete' => 'off']) }}
|
|
<div class="row">
|
|
<div class="col-sm-12 mbl">
|
|
<a href="{{ route("boilerplate.Users.Teams.index") }}" class="btn btn-default">
|
|
{{ __('team.list.title') }}
|
|
</a>
|
|
<span class="btn-group pull-right">
|
|
<button type="submit" class="btn btn-primary">
|
|
{{ __('team.savebutton') }}
|
|
</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-5">
|
|
<div class="box">
|
|
<div class="box-header">
|
|
<h3 class="box-title">{{ __('team.parameters') }}</h3>
|
|
</div>
|
|
<div class="box-body">
|
|
<div class="form-group {{ $errors->has('display_name') ? 'has-error' : '' }}">
|
|
{{ Form::label('display_name', __('team.label')) }}
|
|
{{ Form::text('display_name', old('display_name', $team->display_name), ['class' => 'form-control', 'autofocus']) }}
|
|
{!! $errors->first('display_name','<p class="text-danger"><strong>:message</strong></p>') !!}
|
|
</div>
|
|
<div class="form-group {{ $errors->has('description') ? 'has-error' : '' }}">
|
|
{{ Form::label('description', __('team.description')) }}
|
|
{{ Form::text('description', old('description', $team->description), ['class' => 'form-control']) }}
|
|
{!! $errors->first('description','<p class="text-danger"><strong>:message</strong></p>') !!}
|
|
</div>
|
|
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
|
{{ Form::label('name', __('team.name')) }}
|
|
{{ Form::text('name', old('name', $team->name), ['class' => 'form-control']) }}
|
|
{!! $errors->first('name','<p class="text-danger"><strong>:message</strong></p>') !!}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{ Form::close() }}
|
|
@endsection |