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.
27 lines
1.0 KiB
27 lines
1.0 KiB
@extends('layouts.project')
|
|
|
|
@section('action-buttons')
|
|
@can('update', $project)
|
|
{!! link_to_route('projects.edit', trans('project.edit'), [$project->id], ['class' => 'btn btn-warning']) !!}
|
|
@endcan
|
|
{!! link_to_route('projects.index', trans('project.back_to_index'), ['status_id' => $project->status_id], ['class' => 'btn btn-default']) !!}
|
|
@endsection
|
|
|
|
@section('content-project')
|
|
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
@include('projects.partials.project-show')
|
|
</div>
|
|
<div class="col-md-6">
|
|
@can('update', $project)
|
|
{!! Form::model($project, ['route' => ['projects.status-update', $project->id], 'method' => 'patch','class' => 'well well-sm form-inline']) !!}
|
|
{!! FormField::select('status_id', ProjectStatus::toArray(), ['label' => trans('project.status')]) !!}
|
|
{!! Form::submit('Update Project Status', ['class' => 'btn btn-info btn-sm']) !!}
|
|
{!! Form::close() !!}
|
|
@endcan
|
|
@include('projects.partials.project-stats')
|
|
</div>
|
|
</div>
|
|
|
|
@endsection
|