Updated strings and added a bit of styling (#692)

This commit is contained in:
farhatahmad
2019-07-24 13:42:46 -04:00
committed by Jesus Federico
parent 9057615784
commit 453e6b7c96
4 changed files with 14 additions and 10 deletions

View File

@ -63,7 +63,7 @@
<div class="form-inline">
<label class="custom-switch">
<%= f.check_box :accepted_terms, class: "custom-switch-input form-control #{form_is_invalid?(@user, :accepted_terms)}", placeholder: t("signup.password_confirm") %>
<span class="custom-switch-indicator"></span>
<span class="custom-switch-indicator cursor-pointer"></span>
</label>
<%= f.label :accepted_terms, t("terms.accept", href: link_to(t("terms.title"), terms_path, target: "_blank", class: "ml-1 text-blue")).html_safe, class: "ml-1" %>
<div class="invalid-feedback d-block"><%= @user.errors.full_messages_for(:accepted_terms).first %></div>