Customizing devise views and controllers
This commit is contained in:
@ -9,7 +9,4 @@
|
||||
= yield :header_tags
|
||||
%body
|
||||
.container
|
||||
= yield
|
||||
.footer
|
||||
Powered by
|
||||
= link_to 'Mastodon', 'https://github.com/Gargron/mastodon', class: 'mastodon-link'
|
||||
= content_for?(:content) ? yield(:content) : yield
|
||||
|
10
app/views/layouts/auth.html.haml
Normal file
10
app/views/layouts/auth.html.haml
Normal file
@ -0,0 +1,10 @@
|
||||
- content_for :content do
|
||||
.logo-container
|
||||
%h1
|
||||
Mastodon
|
||||
%small= Rails.configuration.x.local_domain
|
||||
|
||||
.form-container
|
||||
= yield
|
||||
|
||||
= render template: "layouts/application"
|
Reference in New Issue
Block a user