Index: resources/views/dashboard/files/index.blade.php
===================================================================
--- resources/views/dashboard/files/index.blade.php	(revision e78295cd8068c5cafb2b4988541373f115ca6443)
+++ resources/views/dashboard/files/index.blade.php	(revision 1451c6ffa2e43a06d5042dcf8f124894350d0cae)
@@ -76,11 +76,7 @@
 {{--                                                        </a>--}}
 {{--                                                    </div>--}}
-                                                    <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2">
-                                                        <i class="fa fa-file-image-o text-danger fa-2x"></i>
-                                                    </div>
+                                                        <i class="fa fa-file-image-o text-danger"></i>
                                                 @else
-                                                    <div class="col-xl-1 col-lg-1 col-md-1 col-sm-2">
-                                                    <i class="fa fa-file-text-o text-warning fa-2x"></i>
-                                                    </div>
+                                                    <i class="fa fa-file-text-o text-warning"></i>
                                                 @endif
                                             @endif
@@ -107,4 +103,7 @@
                                     @if(auth()->user()->hasPermission('manage_all_files'))
                                     <td>
+                                        <a href="javascript:void(0)" class="text-secondary" data-toggle="modal" data-target="#editModal_{{$file->id}}" title="Edit">
+                                            <i class="ti-pencil"></i>
+                                        </a>
                                         <a href="{{ route("dashboard.files.downloadFile", ['id' => $file->id]) }}" class="text-danger ml-2"title="Download">
                                             <i class="ti-download"></i>
@@ -145,4 +144,37 @@
                                 </div>
 
+                                <div class="modal fade" id="editModal_{{$file->id}}" tabindex="-1" role="dialog" aria-hidden="true">
+                                    <div class="modal-dialog modal-dialog-centered" role="document">
+                                        <div class="modal-content">
+                                            <div class="modal-header">
+                                                <h5 class="modal-title" id="exampleModalCenterTitle">Rename file</h5>
+                                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
+                                                    <i class="ti-close"></i>
+                                                </button>
+                                            </div>
+                                            <div class="modal-body">
+                                                <form action="{{ route("dashboard.files.renameFile", ["id" =>$file->id]) }}" method="post" accept-charset="utf-8">
+                                                    @method("patch")
+                                                    @csrf
+                                                    <div class="row">
+                                                        <div class="col-md-12">
+                                                            <div class="form-group">
+                                                                <label class="form-label">Current name: {{$file->name}}</label>
+                                                                <input type="text" name="name" value="{{ explode('.', $file->name)[0] }}" maxlength="255" title="Don't include: '\/.|'" pattern="^[^.\/|]+$" class="form-control" required>
+                                                            </div>
+                                                        </div>
+                                                    </div>
+                                                    <br/>
+                                                    <div class="modal-footer">
+                                                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Close
+                                                        </button>
+                                                        <button type="submit" class="btn btn-primary">Save changes</button>
+                                                    </div>
+                                                </form>
+                                            </div>
+
+                                        </div>
+                                    </div>
+                                </div>
                             @endforeach
 
