Commit a990db0
Changed files (2)
app
views
registrations
config
locales
app/views/registrations/new.html.erb
@@ -18,7 +18,8 @@
<div class="small-12 columns">
<%= f.label :terms_and_conditions do %>
<%= f.check_box :terms_and_conditions %>
- <%= t('.terms_and_conditions') %> <a href="#" data-reveal-id="terms_modal"><%= t('.terms_and_conditions_link') %></a>.
+ <%= t('.terms_and_conditions') %>.
+ <p><a data-open="terms_modal"><%= t('.terms_and_conditions_link') %></a></p>
<% end %>
</div> <!-- /.small-12 -->
<div class="small-12 columns">
@@ -27,7 +28,9 @@
</div> <!-- /.small-12 -->
<% end %>
</div> <!-- /.row -->
-<div id="terms_modal" class="reveal-modal" data-reveal>
+<div id="terms_modal" class="reveal" data-reveal>
<%= render 'layouts/terms_content' %>
- <a class="close-reveal-modal">×</a>
+ <button class="close-button" data-close aria-label="<% t('.close') %>" type="button">
+ <span aria-hidden="true">×</span>
+ </button>
</div>
config/locales/en.yml
@@ -42,6 +42,7 @@ en:
formats:
short: "%a, %d %b %Y"
add: Add
+ close: Close
done: "I'm Done"
save: Save
search: Search
@@ -66,8 +67,8 @@ en:
username: "Username"
email: "Email"
password: "Password"
- terms_and_conditions: "I agree to the"
- terms_and_conditions_link: "Terms and Conditions of Use"
+ terms_and_conditions: "I agree to the Terms and Conditions of Use"
+ terms_and_conditions_link: "Read the Terms and Conditions of Use"
register_button: "Register"
login_link: "Already have an account?"
create: