Sha256: 535b924d3b3feb7a723911642846339ae2268c874db96911b00ec1c456b69cf1
Contents?: true
Size: 866 Bytes
Versions: 3
Compression:
Stored size: 866 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lockup-1.2.1 | app/views/lockup/lockup/unlock.html.erb |
lockup-1.2.0 | app/views/lockup/lockup/unlock.html.erb |
lockup-1.1.0 | app/views/lockup/lockup/unlock.html.erb |