Sha256: 70e0285b8d20d11217f477abc8f898abe1894ea704c4e0c9e48a9fe56d2bc168

Contents?: true

Size: 724 Bytes

Versions: 3

Compression:

Stored size: 724 Bytes

Contents

%h2= I18n.t('authy_register_title', {:scope => 'devise'})

= verify_authy_form do
  %legend= I18n.t('submit_token_title', {:scope => 'devise'})
  = hidden_field_tag :"#{resource_name}_id", @resource.id
  = label_tag :token
  = text_field_tag :token, "", :autocomplete => :off, :id => 'authy-token'
  %label
    = check_box_tag :remember_device
    %span= I18n.t('remember_device', {:scope => 'devise'})

  / Help Tooltip
  / You need to configure a help message.
  / See documentation: https://github.com/authy/authy-form-helpers#help-tooltip
  / = link_to '?', '#', :id => 'authy-help', :'data-message' => 'a message'

  = authy_request_sms_link
  = submit_tag I18n.t('submit_token', {:scope => 'devise'}), :class => 'btn'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise-authy-1.8.1 app/views/devise/verify_authy.html.haml
devise-authy-1.8.0 app/views/devise/verify_authy.html.haml
devise-authy-1.7.0 app/views/devise/verify_authy.html.haml