more mobile site compatability. edit profile now is a switch hitter, adding flash to the signup form
This commit is contained in:
parent
da51259f32
commit
7b1ff4cd7b
6 changed files with 7 additions and 0 deletions
|
|
@ -2,7 +2,10 @@
|
|||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
|
||||
#login_form
|
||||
%h3
|
||||
= t('.your_account_awaits')
|
||||
= form_for(resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :put }) do |f|
|
||||
%p
|
||||
= f.label :username , t('username')
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@
|
|||
= 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('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
|
||||
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ en:
|
|||
invalid: "is invalid."
|
||||
username:
|
||||
taken: "is already taken."
|
||||
invalid: "is invalid. We only allow letters, numbers, and underscores"
|
||||
email:
|
||||
taken: "is already taken."
|
||||
person:
|
||||
|
|
|
|||
Loading…
Reference in a new issue