<%= hidden_field_tag "challenge_questions[#{cq.id}][id]", cq.id%> <%= label_tag "challenge_questions[#{cq.id}][challenge_question]", cq.challenge_question %> <%= 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" %>
<%= submit_tag "Submit", :style => 'font-size:1.8em;'%> or <%= link_to "Cancel", destroy_user_session_path %>
<%= link_to "Forgot your challenge questions?", forgot_challenge_question_path(resource_name) %>