Commit 4352ff0d authored by tiagonbotelho's avatar tiagonbotelho

fixes frontend bug

parent 421ec6e0
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
= ref = ref
%span.editor-file-name %span.editor-file-name
- if current_action?(:edit) || current_action?(:update) - if current_action?(:edit) || current_action?(:update)
= text_field_tag 'file_name', (params[:file_name] || @file_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)
......
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