Changeset d95fdd2
- Timestamp:
- 11/01/21 11:20:38 (3 years ago)
- Branches:
- master
- Children:
- 0ea3dac
- Parents:
- 190db9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/views/dashboard/files/index.blade.php
r190db9f rd95fdd2 146 146 </div> 147 147 148 <div class="modal fade" id="editModal_{{$file->id}}" tabindex="-1" role="dialog" aria-hidden="true">149 <div class="modal-dialog modal-dialog-centered" role="document">150 <div class="modal-content">151 <div class="modal-header">152 <h5 class="modal-title" id="exampleModalCenterTitle">Rename file</h5>153 <button type="button" class="close" data-dismiss="modal" aria-label="Close">154 <i class="ti-close"></i>155 </button>156 </div>157 <div class="modal-body">158 <form action="{{ route("dashboard.files.renameFile", ["id" =>$file->id]) }}" method="post" accept-charset="utf-8">159 @method("patch")160 @csrf161 <div class="row">162 <div class="col-md-12">163 <div class="form-group">164 <label class="form-label">Current name: {{$file->name}}</label>165 <input type="text" name="name" value="{{ explode('.', $file->name)[0] }}" maxlength="255" title="Don't include: '\/.|'" pattern="^[^.\/|]+$" class="form-control" required>166 </div>167 </div>168 </div>169 <br/>170 <div class="modal-footer">171 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close172 </button>173 <button type="submit" class="btn btn-primary">Save changes</button>174 </div>175 </form>176 </div>177 178 </div>179 </div>180 </div>181 148 @endforeach 182 149
Note:
See TracChangeset
for help on using the changeset viewer.