]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Added root elements and dict support for preferences response
[rails.git] / app / views / site / index.html.erb
index 8a6a5d85a9bb99e5cc6e38a8ffa9bed3bef841fe..aaf24ac1a48529b350869f62e62848050ef04cab 100644 (file)
@@ -1,10 +1,2 @@
-<% 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" } %>