]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
erblint: fix remaining single quoted strings
[rails.git] / app / views / site / index.html.erb
index 8a6a5d85a9bb99e5cc6e38a8ffa9bed3bef841fe..6e3f69a7dcecd393b7c6d079e3e8a3e39dfc677c 100644 (file)
@@ -1,10 +1,4 @@
-<% content_for(:content_class) { "overlay-sidebar" } %>
-
-<% unless @user %>
-  <div class="welcome">
-    <h2><%= t 'layouts.intro_header' %></h2>
-    <p><%= t 'layouts.intro_text' %></p>
-    <a class="button learn-more" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
-    <a class="button sign-up" href="<%= user_new_path %>"><%= t('layouts.sign_up') %></a>
-  </div>
-<% end %>
+<%
+   set_title
+   content_for(:content_class) { "overlay-sidebar" }
+%>