@extends('layouts.main') @section('content')
{!! Form::open(['url' => 'topics/create/', 'method' => 'POST', 'name' => 'form', 'id' => 'searchform', 'files' => true]) !!}
トピックス編集

トピックス情報

{{-- 通知メッセージ --}} @if (session()->has('message'))
{{ Form::label("message", session()->get('message'), ["class"=>"form-control btn-success btn"]) }}
@endif
{!! Form::label("contents","登録内容",["class"=>"control-label btn"]) !!} {!! Form::textarea("contents", "", ["class"=>"form-control", "id"=>"contents", 'rows' => '10']) !!}
アップロードファイル {!! Form::file("file1", "", ["id"=>"file1"]) !!} {!! Form::file("file2", "", ["id"=>"file2"]) !!} {!! Form::file("file3", "", ["id"=>"file3"]) !!} {!! Form::file("file4", "", ["id"=>"file4"]) !!} {!! Form::file("file5", "", ["id"=>"file5"]) !!}
{!! Form::hidden("id", "", ["id"=>"id"]) !!} {!! Form::hidden("code", "", ["id"=>"code"]) !!} {!! Form::hidden("display_date", "", ["id"=>"display_date"]) !!} {!! Form::hidden("start_date", "", ["id"=>"start_date"]) !!} {!! Form::hidden("end_date", "", ["id"=>"end_date"]) !!} {!! Form::hidden("title", "", ["id"=>"title"]) !!} {!! Form::submit(" 登録 ", ["class"=>"btn btn-primary"]) !!}  {!! Form::button("キャンセル", ["class"=>"btn btn-default clearForm"]) !!} {!! Form::close() !!}
@endsection