Sha256: 06273c49479af33650cce2970dfac2dec8a8a61c297594454bb6236ae6f27e8f
Contents?: true
Size: 795 Bytes
Versions: 1
Compression:
Stored size: 795 Bytes
Contents
<%= raw @term.to_html %> <hr/> <% if @user_term.persisted? && @user_term.state == "accepted" %> <div> <strong>THIS POLICY HAS ALREADY BEEN ACCEPTED</strong> <br/> change your mind ?? <%= form_with model: @user_term, url: reject_user_term_path(params[:id]), method: :put, local: true do |f| %> <%= f.submit "reject", class: "btn btn-danger" %> <a href="" class="btn btn-secondary">not now</a> <% end %> </div> <% else %> <strong> <%= current_user.email %> </strong> please accept terms <hr/> <%= form_with model: @user_term, url: accept_user_term_path(params[:id]), method: :put, local: true do |f| %> <%= f.submit "accept", class: "btn btn-success" %> <a href="" class="btn btn-secondary">not now</a> <% end %> <hr/> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gdpr_rails-0.1.0 | app/views/policy_manager/user_terms/show.html.erb |