Sha256: e0a8837cbb2ab3441e9dc7f65adf0eb259714fc988647266213f1907b47fb549
Contents?: true
Size: 852 Bytes
Versions: 1
Compression:
Stored size: 852 Bytes
Contents
<h1>Please enter the code word to continue…</h1> <% if @wrong %> <div class="hmm"> <h3>Hmm… that doesn’t seem right. Try again?</h3> </div> <% end %> <%= form_for :lockup, :url => { :action => 'unlock' } do |form| %> <% unless @wrong == true %> <p><%= form.password_field "codeword", :placeholder => "code word" %></p> <% else %> <p><%= form.password_field "codeword", :value => @codeword, :class => 'nope' %></p> <% end %> <% if ENV["LOCKUP_HINT"].present? %> <p id='hint_icon'>?</p> <p id='hint'><%= ENV["LOCKUP_HINT"] %></p> <% end %> <% if params[:return_to].present? %> <%= form.hidden_field "return_to", :value => params[:return_to] %> <% elsif @return_to.present? %> <%= form.hidden_field "return_to", :value => @return_to %> <% end %> <p><%= button_tag "Go" %></p> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lockup-1.0.0 | app/views/lockup/lockup/unlock.html.erb |