Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/snippets/_form.html.haml')
-rw-r--r--app/views/projects/snippets/_form.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/snippets/_form.html.haml b/app/views/projects/snippets/_form.html.haml
index a4f30734789..a8aa5460f2e 100644
--- a/app/views/projects/snippets/_form.html.haml
+++ b/app/views/projects/snippets/_form.html.haml
@@ -19,10 +19,10 @@
.file-editor
= f.label :file_name, "File"
.input
- .file_holder.snippet
- .file_title
+ .file-holder.snippet
+ .file-title
= f.text_field :file_name, placeholder: "example.rb", class: 'snippet-file-name', required: true
- .file_content.code
+ .file-content.code
%pre#editor= @snippet.content
= f.hidden_field :content, class: 'snippet-file-content'