Sha256: e7f9a33816954788cf3d7b95f48f24aa5dcf07d6f0a0204083f186f72701de5f

Contents?: true

Size: 680 Bytes

Versions: 3

Compression:

Stored size: 680 Bytes

Contents

%h1.terms_of_use=t :terms_of_use
%div
  = form_tag terms_path(redirect_after: params[:redirect_after]), method: 'post' do
    .terms
      = render partial: 'terms'
    .accept
      %label{for: 'accept'}
        - if not current_user.accepted_terms?(@current_terms_stamp)
          %input{type: 'checkbox', value: 'agreed', name: 'accept', id: 'accept'}
        = render partial: 'checkbox'
    
    - if current_user.accepted_terms?(@current_terms_stamp)
      .accepted_at.alert.alert-success
        Du hast diese Bedingungen am
        = l current_user.accepted_terms_at
        akzeptiert.
    - else
      .submit
        = submit_tag t(:confirm), class: 'btn btn-primary'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
your_platform-1.0.1 app/views/terms_of_use/index.html.haml
your_platform-1.0.0 app/views/terms_of_use/index.html.haml
your_platform-0.0.2 app/views/terms_of_use/index.html.haml