about summary refs log tree commit diff
path: root/app/views/settings/profiles
diff options
context:
space:
mode:
authorash lea <ashlea@protonmail.com>2018-10-21 20:57:25 -0400
committerThibG <thib@sitedethib.com>2018-10-29 21:29:31 +0100
commit7ec3f6022d5c991bb584c481a29c416e9f1c5438 (patch)
treef1bf506db29f718bfb9f1e1d0c2152a2ad61f9fe /app/views/settings/profiles
parent88659eda241d3e22acb33db151ea33c13e37911e (diff)
move some constants to rails environment
Diffstat (limited to 'app/views/settings/profiles')
-rw-r--r--app/views/settings/profiles/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/settings/profiles/show.html.haml b/app/views/settings/profiles/show.html.haml
index 516851b04..6c4a8fdfb 100644
--- a/app/views/settings/profiles/show.html.haml
+++ b/app/views/settings/profiles/show.html.haml
@@ -6,8 +6,8 @@
 
   .fields-row
     .fields-row__column.fields-group.fields-row__column-6
-      = f.input :display_name, wrapper: :with_label, input_html: { maxlength: 30 }, hint: false
-      = f.input :note, wrapper: :with_label, input_html: { maxlength: 500 }, hint: false
+      = f.input :display_name, wrapper: :with_label, input_html: { maxlength: Account::MAX_DISPLAY_NAME_LENGTH }, hint: false
+      = f.input :note, wrapper: :with_label, input_html: { maxlength: Account::MAX_NOTE_LENGTH }, hint: false
 
   .fields-row
     .fields-row__column.fields-row__column-6