summaryrefslogtreecommitdiff
path: root/app/views/snippets
diff options
context:
space:
mode:
authorAndrey Vakarev <avakarev@gmail.com>2012-06-04 01:37:27 +0300
committerAndrey Vakarev <avakarev@gmail.com>2012-06-04 01:37:27 +0300
commit3bd06d55e0c7e0accf9efd2e0d67cf1ae76f7b0d (patch)
treef492c34aeacd1a5e3c4fc716155066f241943be5 /app/views/snippets
parent7e0726b1da5c27f958eb940e99e5f8cc3e4a5853 (diff)
downloadgitlab-ce-3bd06d55e0c7e0accf9efd2e0d67cf1ae76f7b0d.tar.gz
Remove trailing whitespaces and trailing lines
Diffstat (limited to 'app/views/snippets')
-rw-r--r--app/views/snippets/_form.html.haml4
-rw-r--r--app/views/snippets/index.html.haml4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/snippets/_form.html.haml b/app/views/snippets/_form.html.haml
index 5a28a350d3c..c9128f642fc 100644
--- a/app/views/snippets/_form.html.haml
+++ b/app/views/snippets/_form.html.haml
@@ -29,8 +29,8 @@
-:javascript
- $(function(){
+:javascript
+ $(function(){
$('select#snippet_expires_at').chosen();
});
diff --git a/app/views/snippets/index.html.haml b/app/views/snippets/index.html.haml
index 762265f16b3..53d6b57f728 100644
--- a/app/views/snippets/index.html.haml
+++ b/app/views/snippets/index.html.haml
@@ -2,11 +2,11 @@
- if can? current_user, :write_snippet, @project
.alert-message.block-message
- = link_to new_project_snippet_path(@project), :class => "btn small add_new right", :title => "New Snippet" do
+ = link_to new_project_snippet_path(@project), :class => "btn small add_new right", :title => "New Snippet" do
Add new snippet
Share code pastes with others if it cant be in a git repository
%br
- To add new snippet - click on button.
+ To add new snippet - click on button.
- unless @snippets.fresh.empty?
%table.zebra-striped.borders= render @snippets.fresh