-
Notifications
You must be signed in to change notification settings - Fork 6
App Integration Layouts (Views)
As of version 1.8.0 mtdevise has improved layouts customization abilities.
(Note: On file exist prompt use n for No so existing file customizations will not be overwritten.)
rails generate mtdevise:views
Mtdevise will generate a mtdevise folder located in your apps layouts location
/views/layouts/mtdevise
accounts.html.erb
-- Accounts view covers general devise views not listed below.
accountsindex.html.erb
-- User's acounts list page directly after a "subdomainless" signin.
application.html.erb
-- General view to cover any remaining views not listed below.
dashboard.html.erb
-- User index view directly after a signin using a subdomain.
signin.html.erb
-- This layout covers all user signin (account login) pages.
signup.html.erb
-- This layout covers all user signup (account registration) page.
useredit.html.erb
-- This layout is for the edit user information (account edit) page.
welcome.html.erb
-- This layout is the root page, it can be used as a site's landing page.
Note: accountedit.html.erb is phased out for useredit.html.rb and can be removed.