Commit 8ec10899 authored by tiagonbotelho's avatar tiagonbotelho

implements the form for renaming the new filename on the file edit page

parent 43c5e1a5
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
-if current_action?(:edit) || current_action?(:update) -if current_action?(:edit) || current_action?(:update)
= text_field_tag 'file_name', (params[:file_name] or @path), = text_field_tag 'file_name', (params[:file_name] or @path),
class: 'form-control new-file-name' class: 'form-control new-file-name'
- if current_action?(:new) || current_action?(:create) - if current_action?(:new) || current_action?(:create)
%span.editor-file-name %span.editor-file-name
\/ \/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment