라라벨/FORM

form에서 버튼만들어 전송하기

땀모 2020. 3. 27. 19:51
<form action="/workplan/{{$workplan->id}}/edit" method="post">
@csrf
@method('PATCH')

<input class="ui button" type="submit" value="취소" formaction="/workplanComplate/{{$workplan->id}}">
<input type="hidden" name="con" value=0>

</form>