Commit 8ecf7d32 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Improve web editor filename placeholder

parent a3d879d4
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
- if current_action?(:new) || current_action?(:create) - if current_action?(:new) || current_action?(:create)
\/ \/
= text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", = text_field_tag 'file_name', params[:file_name], placeholder: "File name",
required: true, class: 'form-control new-file-name' required: true, class: 'form-control new-file-name'
.pull-right .pull-right
= select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'form-control' = select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'form-control'
......
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