10 lines
702 B
PHP
10 lines
702 B
PHP
@extends('admin.layouts.app')
|
|
@section('content')
|
|
<form method="post" action="{{ route('bylaw-legal-authority.update', $bylawLegalAuthority) }}">@csrf @method('PUT')
|
|
<input class="form-control mb-2" name="name" value="{{ $bylawLegalAuthority->name }}">
|
|
<select class="form-control mb-2" name="authority_type">@foreach(['executive','judicial','legislative','administrative','other'] as $type)<option value="{{ $type }}" @selected($bylawLegalAuthority->authority_type===$type)>{{ $type }}</option>@endforeach</select>
|
|
<textarea class="form-control mb-2" name="description">{{ $bylawLegalAuthority->description }}</textarea>
|
|
<button class="btn btn-primary">بروزرسانی</button>
|
|
</form>
|
|
@endsection
|