Changeset d795fa6 for resources/views/dashboard/departments/edit.blade.php
- Timestamp:
- 10/17/21 18:39:50 (3 years ago)
- Branches:
- develop, master
- Children:
- bd9e8e3
- Parents:
- 120759b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/departments/edit.blade.php
r120759b rd795fa6 28 28 <div class="card-body"> 29 29 <h6 class="card-title">Departmnets</h6> 30 <form action="{{ route("dashboard.departments.edit", ["id" =>$department->id]) }}" method="post" accept-charset="utf-8" >30 <form action="{{ route("dashboard.departments.edit", ["id" =>$department->id]) }}" method="post" accept-charset="utf-8" class="needs-validation" novalidate> 31 31 @method("patch") 32 32 @csrf … … 35 35 <div class="form-group"> 36 36 <label class="form-label">Name</label> 37 <input type="text" name="name" value="{{ $department->name }}" class="form-control" placeholder="Name" required> 37 <input type="text" name="name" value="{{ $department->name }}" minlength="2" maxlength="30" class="form-control" placeholder="Name" required> 38 <div class="invalid-feedback"> 39 Please enter characters with length between [2, 30] 40 </div> 38 41 </div> 39 42 </div> … … 41 44 <div class="form-group"> 42 45 <label class="form-label">Code</label> 43 <input type="text" name="code" value="{{ $department->code }}" class="form-control" placeholder="Code" required> 46 <input type="text" name="code" value="{{ $department->code }}" minlength="2" maxlength="30" class="form-control" placeholder="Code" required> 47 <div class="invalid-feedback"> 48 Please enter characters with length between [2, 30] 49 </div> 44 50 </div> 45 51 </div>
Note:
See TracChangeset
for help on using the changeset viewer.