summaryrefslogtreecommitdiff
path: root/app/views/projects/edit_tree
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-13 09:52:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-13 09:52:47 +0300
commit3805797cae702e46a83b5da9b6411f1899c3d1a0 (patch)
treec9bb7eac8362227ccf4586b261cd2ab4872863a2 /app/views/projects/edit_tree
parent399d0bdde79774b4cc7e6a9dd480a8b7cb690bed (diff)
downloadgitlab-ce-3805797cae702e46a83b5da9b6411f1899c3d1a0.tar.gz
scss: rename file_content to file-content etc
Diffstat (limited to 'app/views/projects/edit_tree')
-rw-r--r--app/views/projects/edit_tree/show.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/edit_tree/show.html.haml b/app/views/projects/edit_tree/show.html.haml
index 101b479afed..25a361cb2fd 100644
--- a/app/views/projects/edit_tree/show.html.haml
+++ b/app/views/projects/edit_tree/show.html.haml
@@ -1,7 +1,7 @@
.file-editor
= form_tag(project_edit_tree_path(@project, @id), method: :put, class: "form-horizontal") do
- .file_holder
- .file_title
+ .file-holder
+ .file-title
%i.icon-file
%span.file_name
= @path
@@ -11,7 +11,7 @@
%span.options
.btn-group.tree-btn-group
= link_to "Cancel", project_blob_path(@project, @id), class: "btn btn-tiny btn-cancel", confirm: leave_edit_message
- .file_content.code
+ .file-content.code
%pre#editor= @blob.data
.control-group.commit_message-group
@@ -21,7 +21,7 @@
= text_area_tag 'commit_message', '', placeholder: "Update #{@blob.name}", required: true, rows: 3
.form-actions
= hidden_field_tag 'last_commit', @last_commit
- = hidden_field_tag 'content', '', id: :file_content
+ = hidden_field_tag 'content', '', id: :file-content
.commit-button-annotation
= button_tag "Commit changes", class: 'btn commit-btn js-commit-button btn-primary'
.message
@@ -40,6 +40,6 @@
disableButtonIfEmptyField("#commit_message", ".js-commit-button");
$(".js-commit-button").click(function(){
- $("#file_content").val(editor.getValue());
+ $("#file-content").val(editor.getValue());
$(".file-editor form").submit();
});