diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml index 0c27f679dee33f2264be10ead8325945aa9ec8f3..fa6aecb66619b00f3a8af5fd08901551e9609a3a 100644 --- a/app/views/layouts/_head.html.haml +++ b/app/views/layouts/_head.html.haml @@ -18,8 +18,7 @@ = javascript_include_tag "application" = csrf_meta_tags = include_gon - :erb - <meta name="viewport" content="width=device-width, initial-scale=1.0"> + %meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'} = render 'layouts/google_analytics' if extra_config.has_key?('google_analytics_id') = render 'layouts/piwik' if extra_config.has_key?('piwik_url') && extra_config.has_key?('piwik_site_id') diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml index 464e7ca40e1b800d457b18410d498742d6da1418..aca6fde28864a40b79555097192eb12f79a576f5 100644 --- a/app/views/projects/blame/show.html.haml +++ b/app/views/projects/blame/show.html.haml @@ -30,5 +30,5 @@ %code{ class: highlightjs_class(@blob.name) } :erb <% lines.each do |line| %> - <%= line %> + <%= line %> <% end %> diff --git a/app/views/projects/new_tree/show.html.haml b/app/views/projects/new_tree/show.html.haml index 4ce8d372a38b776461a7e64dae0be819e60024bf..24d77344fd5d8676fa97e0d829dd05873f73c4fe 100644 --- a/app/views/projects/new_tree/show.html.haml +++ b/app/views/projects/new_tree/show.html.haml @@ -25,7 +25,8 @@ Commit message .col-sm-10 = render 'shared/commit_message_container', {textarea: text_area_tag('commit_message', - params[:commit_message], placeholder: "Added new file", required: true, rows: 3, class: 'form-control')} + params[:commit_message], placeholder: 'Add new file', + required: true, rows: 3, class: 'form-control')} .file-holder .file-title