@extends('layouts.page') @section('title') Forms {{ $rnd_form->name }} Report @endsection @section('navs') Back @endsection @section('content') {{ Form::open(['url' => route('rnd_report.save_content', [$rnd_report->id, $field])]) }}
@if ($field == 'introduction')
{{ Form::text('title', $rnd_report->title, ['class' => 'form-control mb-3', 'id' => 'title', 'placeholder' => 'Title']) }}
@endif
{{ Form::textarea($field, $rnd_report->$field, ['class' => 'form-control mb-3', 'id' => 'default-editor', 'placeholder' => '']) }}
{{ Form::close() }} @endsection