<div class='hero'>
  <div class='container'>
    <section class='row m-b-md'>
        <div class='col-sm-12'>
          <h2><span class='glyphicon glyphicon-lock' aria-hidden='true'></span> Verify <strong>2 Factor Auth</strong></h2>
          <%= I18n.t('authy_verify_installation_title', {:scope => 'devise'}) %>
          <%= render 'shared/breadcrumb' %>
          <%= render 'shared/social_media' %>
        </div>
    </section>
  </div>
</div>
<div class='sub'>
  <section class='container form-horizontal'>
    <%= verify_authy_installation_form do %>
      <legend><%= I18n.t('submit_token_title', {:scope => 'devise'}) %></legend>
      <%= label_tag :token %>
      <%= text_field_tag :token, "", :autocomplete => :off, :id => 'authy-token' %>
      <%= authy_request_sms_link %>
      <%= submit_tag I18n.t('enable_my_account', {:scope => 'devise'}), :class => 'btn' %>
    <% end %>
  </section>
</div>
  

<div class='hero'>
  <div class='container'>
    <section class='row m-b-md'>
        <div class='col-sm-12'>
          <h2><span class='glyphicon glyphicon-lock' aria-hidden='true'></span> Verify <strong>2 Factor Auth</strong></h2>
          <%= I18n.t('authy_verify_installation_title', {scope: 'devise'}) %>
          <%= render 'shared/breadcrumb' %>
          <%= render 'shared/social_media' %>
        </div>
    </section>
  </div>
</div>
<div class='sub'>
  <section class='container form-horizontal'>
    <%= verify_authy_installation_form do %>
      <legend><%= I18n.t('submit_token_title', {scope: 'devise'}) %></legend>
      <%= label_tag :token %>
      <%= text_field_tag :token, "", autocomplete: :off, id: 'authy-token', autofocus: true %>
      <%= authy_request_sms_link %>
      <%= submit_tag I18n.t('enable_my_account', {scope: 'devise'}), class: 'btn' %>
    <% end %>
  </section>
</div>
  

Refactor to modern hash syntax.
Refactor to modern hash syntax.
