@extends('layouts.main') @section('content')
{{ Form::label("contents","登録内容",["class"=>"control-label btn"]) }} | {{ Form::textarea("contents", $data->contents, ["class"=>"form-control", "id"=>"contents", 'rows' => '10']) }} | |
{{ Form::label("file1","アップロードファイル",["class"=>"control-label btn"]) }} | @if (!empty($files[0])) {{ Form::text("oldfile1", $files[0]->filename, ["class"=>"form-control", "id"=>"oldfile1", "readonly"=>"true"]) }} @endif | {{ Form::file("file1", ["class"=>"form-control", "id"=>"file1", "style"=>"display:inline"]) }} |
@if (!empty($files[1])) {{ Form::text("oldfile2", $files[1]->filename, ["class"=>"form-control", "id"=>"oldfile2", "readonly"=>"true"]) }} @endif | {{ Form::file("file2", ["class"=>"form-control", "id"=>"file2", "style"=>"display:inline"]) }} | |
@if (!empty($files[2])) {{ Form::text("oldfile3", $files[2]->filename, ["class"=>"form-control", "id"=>"oldfile3", "readonly"=>"true"]) }} @endif | {{ Form::file("file3", ["class"=>"form-control", "id"=>"file3", "style"=>"display:inline"]) }} | |
@if (!empty($files[3])) {{ Form::text("oldfile4", $files[3]->filename, ["class"=>"form-control", "id"=>"oldfile4", "readonly"=>"true"]) }} @endif | {{ Form::file("file4", ["class"=>"form-control", "id"=>"file4", "style"=>"display:inline"]) }} | |
@if (!empty($files[4])) {{ Form::text("oldfile5", $files[4]->filename, ["class"=>"form-control", "id"=>"oldfile5", "readonly"=>"true"]) }} @endif | {{ Form::file("file5", ["class"=>"form-control", "id"=>"file5", "style"=>"display:inline"]) }} |