summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAppleDash <[email protected]>2021-03-26 17:49:48 -0400
committerAppleDash <[email protected]>2021-03-26 17:49:48 -0400
commit7e26c5cde2ee72c8b9e5f308ec577448e22ae8cd (patch)
tree1c0b1a97bd3af39d186847e693959a00b479e354
parent7cfc711f25a4e1b80fe5628c95f86697557b3c56 (diff)
-rw-r--r--app/assets/stylesheets/common/forms.scss4
-rw-r--r--app/controllers/stats/charts_controller.rb2
-rw-r--r--app/views/devise/registrations/new.html.slim6
3 files changed, 10 insertions, 2 deletions
diff --git a/app/assets/stylesheets/common/forms.scss b/app/assets/stylesheets/common/forms.scss
index 9ffd366..6ce45da 100644
--- a/app/assets/stylesheets/common/forms.scss
+++ b/app/assets/stylesheets/common/forms.scss
@@ -146,3 +146,7 @@ textarea {
.toggle-box:checked + label + .toggle-box-container > .toggle-box-container__content {
margin-top: $block_spacing;
}
+
+.fieldlabel {
+ margin-bottom: 0.5rem;
+} \ No newline at end of file
diff --git a/app/controllers/stats/charts_controller.rb b/app/controllers/stats/charts_controller.rb
index c413be2..301e217 100644
--- a/app/controllers/stats/charts_controller.rb
+++ b/app/controllers/stats/charts_controller.rb
@@ -11,7 +11,7 @@ class Stats::ChartsController < ApplicationController
end
def show
- @images_aggregation = Image.search(Booru::CONFIG.aggregation[:images])
+ @images_aggregation = Post.search(Booru::CONFIG.aggregation[:images])
respond_to do |format|
format.html { render layout: false }
diff --git a/app/views/devise/registrations/new.html.slim b/app/views/devise/registrations/new.html.slim
index 35c1079..78f4092 100644
--- a/app/views/devise/registrations/new.html.slim
+++ b/app/views/devise/registrations/new.html.slim
@@ -10,7 +10,11 @@ h1 Sign Up
| Choose wisely.
.field
= f.text_field :name, class: 'input', placeholder: 'Username', required: true
- .fieldlabel You'll use your email address to log in, and we'll use this to get in touch if we need to. Don't worry, we won't share this or spam you.
+ .fieldlabel
+ | You'll use your email address to log in, and we'll use this to get in touch if we need to.
+ Don't worry, we won't share this or spam you.
+ Please note that no verification of e-mail addresses is performed, so if you expect password resets to work,
+ you will need to make extra sure you use a valid e-mail address here!
.field
= f.email_field :email, class: 'input', placeholder: :email, required: true
.fieldlabel