Changeset 9b4689a for resources/views/dashboard/departments/index.blade.php
- Timestamp:
- 10/27/21 00:41:05 (3 years ago)
- Branches:
- develop, master
- Children:
- 9a13901
- Parents:
- 678747f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/departments/index.blade.php
r678747f r9b4689a 165 165 @endforeach 166 166 167 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true">168 <div class="modal-dialog modal-dialog-centered" role="document">169 <div class="modal-content">170 <div class="modal-header">171 <h5 class="modal-title" id="exampleModalCenterTitle">Create department</h5>172 <button type="button" class="close" data-dismiss="modal" aria-label="Close">173 <i class="ti-close"></i>174 </button>175 </div>176 <div class="modal-body">177 <form action="{{ route("dashboard.departments.store") }}" method="post" accept-charset="utf-8">178 @csrf179 <div class="row">180 <div class="col-md-6">181 <div class="form-group">182 <label>Name</label>183 <input type="text" name="name" value="{{ old('name') }}" minlength="2" maxlength="30" class="form-control" placeholder="Name" required>184 </div>185 </div>186 <div class="col-md-6">187 <div class="form-group">188 <label>Code</label>189 <input type="number" name="code" value="{{ old('code') }}" minlength="1" class="form-control" placeholder="Code" required>190 </div>191 </div>192 </div>193 <br/>194 <div class="modal-footer">195 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close196 </button>197 <button type="submit" class="btn btn-primary">Save changes</button>198 </div>199 </form>200 </div>201 202 </div>203 </div>204 </div>205 206 167 </tbody> 207 168 </table> … … 212 173 </div> 213 174 175 <div class="modal fade" id="createModal" tabindex="-1" role="dialog" aria-hidden="true"> 176 <div class="modal-dialog modal-dialog-centered" role="document"> 177 <div class="modal-content"> 178 <div class="modal-header"> 179 <h5 class="modal-title" id="exampleModalCenterTitle">Create department</h5> 180 <button type="button" class="close" data-dismiss="modal" aria-label="Close"> 181 <i class="ti-close"></i> 182 </button> 183 </div> 184 <div class="modal-body"> 185 <form action="{{ route("dashboard.departments.store") }}" method="post" accept-charset="utf-8"> 186 @csrf 187 <div class="row"> 188 <div class="col-md-6"> 189 <div class="form-group"> 190 <label>Name</label> 191 <input type="text" name="name" value="{{ old('name') }}" minlength="2" maxlength="30" class="form-control" placeholder="Name" required> 192 </div> 193 </div> 194 <div class="col-md-6"> 195 <div class="form-group"> 196 <label>Code</label> 197 <input type="number" name="code" value="{{ old('code') }}" minlength="1" class="form-control" placeholder="Code" required> 198 </div> 199 </div> 200 </div> 201 <br/> 202 <div class="modal-footer"> 203 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close 204 </button> 205 <button type="submit" class="btn btn-primary">Save changes</button> 206 </div> 207 </form> 208 </div> 209 210 </div> 211 </div> 212 </div> 213 214 214 @endsection 215 215
Note:
See TracChangeset
for help on using the changeset viewer.