more mobile site compatability. edit profile now is a switch hitter, adding flash to the signup form

This commit is contained in:
Maxwell Salzberg 2011-08-09 17:20:21 -07:00
parent da51259f32
commit 7b1ff4cd7b
6 changed files with 7 additions and 0 deletions

View file

@ -2,7 +2,10 @@
-# 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.
#login_form #login_form
%h3
= t('.your_account_awaits')
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f| = form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
%p %p
= f.label :username , t('username') = f.label :username , t('username')

View file

@ -56,6 +56,9 @@
= link_to(image_tag('icons/list_white.png'), '#menu', :id => "menu_button") = link_to(image_tag('icons/list_white.png'), '#menu', :id => "menu_button")
= link_to(image_tag('icons/search_white.png'), people_path) = link_to(image_tag('icons/search_white.png'), people_path)
= link_to(image_tag('white@2x.png', :height => 22, :width => 136, :id => 'header_title'), aspects_path) = link_to(image_tag('white@2x.png', :height => 22, :width => 136, :id => 'header_title'), aspects_path)
%p
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
= yield = yield

View file

@ -51,6 +51,7 @@ en:
invalid: "is invalid." invalid: "is invalid."
username: username:
taken: "is already taken." taken: "is already taken."
invalid: "is invalid. We only allow letters, numbers, and underscores"
email: email:
taken: "is already taken." taken: "is already taken."
person: person: