@extends('layouts.web') @section('page-title', "Agregar archivo") @section('content')

{{$content->title}}
Formatos admitidos: Imágenes( JPG, PNG, BMP), Archivos (PDF, Excel).

{{-- {!! Form::open(['url' => route('archivos.store'), 'files'=>true, 'id'=>'user-form']) !!} --}} {!! Form::open(['route' => 'archivos.store', 'files' => true, 'id' => 'user-form']) !!} {{ Form::hidden('id', $content->id) }}
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}} {{Form::text($nameInput, $content->title, ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control'])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{Form::label($nameInput, $nameObj,['class'=>'control-label'])}} {{Form::textarea($nameInput, '', ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control file-path validate materialize-textarea'])}} @if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{{$nameObj}} {{Form::file($nameInput , ['id'=>$nameInput,'placeholder'=>$nameObj,'class'=>'form-control'])}}
@if($errors->first($nameInput))
{{ $errors->first($nameInput) }}
@endif
{!! (Form::close()); !!}
@stop @section('scripts') @stop