라라벨/FORM
form 테이블 전송하기 예제
땀모
2020. 4. 3. 04:41
@extends('master')
@section('content')
<form method="post" action="/profile/editTo/{{ $worktask->id }}">
@csrf
@method('PATCH')
<table class="ui celled table">
<thead>
<tr><th>공정명</th>
<th>작성일</th>
<th>공수</th>
</tr></thead>
<tbody>
<tr>
<td data-label="Name">{{ $worktask->process }}</td>
<td data-label="Age">{{$worktask->created_at->format('m-d')}}</td>
<td data-label="Job">{{ $worktask->wt }}</td>
</tr>
</tbody>
</table>
<button class="fluid ui positive button">수정하기</button>
</form>
@endsection