Sha256: fa3e129ef41c2f61fb2af858e1f200a47b1c1ee90f472cb8069ef9bbb7afdffc

Contents?: true

Size: 1006 Bytes

Versions: 10

Compression:

Stored size: 1006 Bytes

Contents

<h3>Answer the challenge question below</h3>

<%= form_tag([:authenticate, resource_name, :challenge_question], :method => :put) do %>
  <fieldset>
    <%= hidden_field_tag :limit, params[:limit]%>
    <%- @challenge_questions.each_with_index do |cq, index| %>
      <p>
        <%= hidden_field_tag "challenge_questions[#{cq.id}][id]", cq.id%>
        <%= label_tag "challenge_questions[#{cq.id}][challenge_question]", cq.challenge_question %>
        <br>
        <%= password_field_tag "challenge_questions[#{cq.id}][challenge_answer]", nil, :placeholder => 'Answer', :class => 'wide', :style => 'font-size: 1.8em;padding:5px', :autofocus => (true if index == 0), :autocomplete => "off" %>
      </p>
    <% end %>
    <p>
      <%= submit_tag "Submit", :style => 'font-size:1.8em;'%>
      or
      <%= link_to "Cancel", destroy_user_session_path %>
    </p>
    <p>
      <%= link_to "Forgot your challenge questions?", forgot_challenge_question_path(resource_name) %>
    </p>
  </fieldset>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise_challenge_questionable-3.3.2 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-3.3.1 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-3.2.0 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-3.1.0 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-3.0.0 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-2.0.0 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-0.2.5 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-0.2.4 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-0.2.3 app/views/devise/challenge_questions/show.html.erb
devise_challenge_questionable-0.2.2 app/views/devise/challenge_questions/show.html.erb