]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_terms.html.erb
Don't refer to the decline button when there isn't one
[rails.git] / app / views / user / _terms.html.erb
index 849f536e3bedd8c0682e6357f4d8b5f0c58a3c0a..2c6b0885cb2732608d6b1007dadc17789d55c177 100644 (file)
@@ -1,4 +1,11 @@
-<p id="first"><%= @text['intro'] %></p>
+<p id="first">
+  <%= @text['intro'] %>
+  <% if has_decline %>
+    <%= @text['next_with_decline'] %>
+  <% else %>
+    <%= @text['next_without_decline'] %>
+  <% end %>
+</p>
 <ol>
   <li>
     <p><%= @text['section_1'] %></p>