first change

This commit is contained in:
2025-07-27 17:40:56 +05:45
commit f8b9a6725b
3152 changed files with 229528 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{{ html()->form('POST', route('coop.store'))->class('needs-validation')->attributes(['novalidate'])->open() }}
@isset($coop)
{{ html()->hidden('id', $coop->id) }}
@endisset
<div class="card-body">
<div class="row">
<div class="col-sm-12">
<div class="mb-3">
{{ html()->label('Title')->for('title') }}
{{ html()->span('*')->class('text-danger') }}
{{ html()->text('title')->value($coop->title ?? old('title'))->class('form-control')->placeholder('Enter Title')->required() }}
{{ html()->div('Please enter a title.')->class('invalid-feedback') }}
</div>
<div class="mb-3">
{{ html()->label('Link')->for('link') }}
{{ html()->text('link')->value($coop->link ?? old('link'))->class('form-control')->placeholder('Enter Related Link') }}
</div>
</div>
<x-form-buttons :href="route('coop.index')" :label="isset($coop) ? 'Update' : 'Create'" />
</div>
</div>
{{ html()->form()->close() }}