various mobile tweaks. logout link actually logs out

This commit is contained in:
danielvincent 2011-01-23 21:32:36 -08:00 committed by zhitomirskiyi
parent 7ac0e9eb49
commit 21465c8f32

View file

@ -2,21 +2,18 @@
-# licensed under the Affero General Public License version 3 or later. See -# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file. -# the COPYRIGHT file.
.floating.login_form = form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f|
%h3 #user
= t('.login') %p.username
= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| = f.label :username , t('username')
#user = f.text_field :username
%p.username %p.user_network
= f.label :username , t('username') ="@#{AppConfig[:pod_uri].host}/"
= f.text_field :username
%p.user_network
="@#{AppConfig[:pod_uri].host}/"
%p %p
= f.label :password , t('password') = f.label :password , t('password')
= f.password_field :password = f.password_field :password
= f.submit t('.sign_in') = f.submit t('.sign_in')
%p %p
= render :partial => "devise/shared/links" = render :partial => "devise/shared/links"