@extends('admin.layouts.app') @section('content')

{{ $project->title }}

{{-- Mensajes --}}

Mensajes

{{-- --}} @foreach($messages as $message) {{-- --}} @endforeach
Autor ComentarioAcción
{{ $message->nombreAutor }} {{ $message->comment }} Editar
{{-- Agregar mensaje --}}

Agregar mensaje

{{-- Mensajes --}}
{{-- De error --}} @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- De exito --}} @if(Session::has('mensajeGuardado')) @endif
{!! Form::open(array('route' => 'my-projects.storeMessage', 'method' => 'POST','enctype'=>"multipart/form-data", 'class' => 'form-horizontal')) !!} {!! Form::token() !!} {{ Form::hidden('idProject', $project->id) }} {{ Form::hidden('idRevisor', \Auth::id()) }}
{!! Form::label('', 'Texto:', ['class' => 'col-sm-3']) !!}
{!! Form::textarea('comment', '', ['class' => 'form-control']) !!}
{!! Form::submit() !!}
{!! Form::close() !!}
@endsection