0
我有一個文件場在我的形式是這樣的:Laravel表 - 加載文件場
<div class="form-group">
{!! Form::label('pdf', 'PDF Template') !!}
{!! Form::file('pdf') !!}
<a href="{{route('download_pdf', ['id' => $template->id])}}">Download current PDF</a>
</div>
我使用laravelcollective包來創建我的形式。
現在在我的編輯頁面我想加載當前文件(設置文件字段)。但我該怎麼做?
它不是最好的做法,只提參考鏈接...請提供一些解決方案或天氣增加的問題複製或者其他主持人按照你的參考。 –