Changeset 0ea3dac for resources/views/dashboard
- Timestamp:
- 11/01/21 11:46:11 (3 years ago)
- Branches:
- master
- Children:
- 3536fe9
- Parents:
- d95fdd2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/index.blade.php
rd95fdd2 r0ea3dac 216 216 </div> 217 217 </div> 218 219 <div class="modal fade" id="editModal_{{$file->id}}" tabindex="-1" role="dialog" aria-hidden="true">220 <div class="modal-dialog modal-dialog-centered" role="document">221 <div class="modal-content">222 <div class="modal-header">223 <h5 class="modal-title" id="exampleModalCenterTitle">Rename file</h5>224 <button type="button" class="close" data-dismiss="modal" aria-label="Close">225 <i class="ti-close"></i>226 </button>227 </div>228 <div class="modal-body">229 <form action="{{ route("dashboard.files.renameFile", ["id" =>$file->id]) }}" method="post" accept-charset="utf-8">230 @method("patch")231 @csrf232 <div class="row">233 <div class="col-md-12">234 <div class="form-group">235 <label class="form-label">Current name: {{$file->name}}</label>236 <input type="text" name="name" value="{{ explode('.', $file->name)[0] }}" maxlength="255" title="Don't include: '\/.|'" pattern="^[^.\/|]+$" class="form-control" required>237 </div>238 </div>239 </div>240 <br/>241 <div class="modal-footer">242 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close243 </button>244 <button type="submit" class="btn btn-primary">Save changes</button>245 </div>246 </form>247 </div>248 249 </div>250 </div>251 </div>252 218 @endforeach 253 219 </tbody>
Note:
See TracChangeset
for help on using the changeset viewer.