diff --git a/app/views/layouts/_content.html.erb b/app/views/layouts/_content.html.erb index 9e28c0771b..ca7fdc36b9 100644 --- a/app/views/layouts/_content.html.erb +++ b/app/views/layouts/_content.html.erb @@ -15,5 +15,12 @@ <%= yield %> + <% if content_for? :footer %> + + <% end %> <% end %> diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 33c9a7e246..0dc52fe5b6 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -77,17 +77,20 @@ <%= render "any_questions" %> -
-<% if params[:oauth_return_url] %> - <%= t ".continue_authorization" %> -<% else %> - <%= t ".start_mapping" %> -<% end %> -
-

<%= t ".add_a_note.title" %>

<%= t ".add_a_note.para_1" %>

<%= t ".add_a_note.para_2_html", :map_link => link_to(t(".add_a_note.the_map"), root_path), :note_icon => tag.span(:class => "icon note bg-dark rounded-1") %>

+ +<% content_for :footer_outer_class, "sticky-bottom" %> +<% content_for :footer do %> +
+ <% if params[:oauth_return_url] %> + <%= t ".continue_authorization" %> + <% else %> + <%= t ".start_mapping" %> + <% end %> +
+<% end %>