Commit 4b8ae8f5 authored by tiagonbotelho's avatar tiagonbotelho

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

parent e182b850
...@@ -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] || @path), = text_field_tag 'file_name', (params[:file_name] || @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