You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.2 KiB
28 lines
1.2 KiB
@extends('layouts.app')
|
|
|
|
@section('title', trans('feature.create'))
|
|
|
|
@section('content')
|
|
@include('projects.partials.breadcrumb',['title' => trans('feature.create')])
|
|
|
|
<div class="row">
|
|
<div class="col-md-4">
|
|
{!! Form::open(['route'=>'features.store']) !!}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading"><h3 class="panel-title">{{ trans('feature.create') }}</h3></div>
|
|
<div class="panel-body">
|
|
{!! FormField::text('name',['label'=> trans('feature.name')]) !!}
|
|
{!! FormField::textarea('description',['label'=> trans('feature.description')]) !!}
|
|
{!! FormField::price('price', ['label'=> trans('feature.price')]) !!}
|
|
{!! FormField::select('worker_id', $workers, ['label'=> trans('feature.worker')]) !!}
|
|
</div>
|
|
|
|
<div class="panel-footer">
|
|
{!! Form::submit(trans('feature.create'), ['class'=>'btn btn-primary']) !!}
|
|
{!! link_to_route('projects.features', trans('app.cancel'), [$project->id], ['class'=>'btn btn-default']) !!}
|
|
</div>
|
|
</div>
|
|
{!! Form::close() !!}
|
|
</div>
|
|
</div>
|
|
@endsection
|