engine/app/views/locomotive/cross_domain_sessions/new.html.haml

14 lines
375 B
Plaintext

- title t('.title')
= form_tag cross_domain_sessions_url(:host => @target, :port => request.port), :method => 'post' do
= hidden_field_tag 'token', current_locomotive_account.switch_site_token
.inner
%p.notice= t('.notice')
.footer
= box_button_tag t('locomotive.buttons.switch_to_site')
:javascript
$(document).ready(function() { $('form').submit(); });