forked from External/greenlight
* <fixed privacy policy workflow> * <fixed privacy policy workflow> * <changed rspec tests to handle new privacy flow> * <changed rspec tests to handle new privacy flow> * <deleted previous term validation due to changed workflow> * <fixed code style> * <reverted configuration settings> * <Updated terms and conditions for existing users (not omniauth)> * <Fix code style> * <Fixed privacy policy for omniauth> * <Fixed Travis C.I test> * <Minor code changes> * <Undo routes.rb change> * <reconfigured routes.rb>
This commit is contained in:
@ -23,9 +23,9 @@
|
||||
<div class="terms">
|
||||
<%= markdown(Rails.configuration.terms) %>
|
||||
</div>
|
||||
<div class="btn-list text-right pt-8">
|
||||
<%= button_to t("terms.accept"), terms_path, params: {accept: true}, class: "btn btn-primary btn-space" %>
|
||||
</div>
|
||||
<% if Rails.configuration.terms && current_user && !current_user.accepted_terms %>
|
||||
<%= render "/shared/components/terms_button" %>
|
||||
<% end %>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user