This commit is contained in:
mgabdev
2020-12-22 12:49:40 -05:00
parent 34f6a1ab5b
commit 06de0c88f3
4 changed files with 9 additions and 9 deletions

View File

@@ -6,15 +6,16 @@
.fields-row
.fields-row__column.fields-group.fields-row__column-6
- if @account.is_pro
= f.input :username, wrapper: :with_label, input_html: { maxlength: 30 }, hint: false
- if @account.is_verified
%div
%span Verified accounts cannot change their username or display name. Please contact
%span Verified accounts cannot change their display name. Please contact
%a{:href => "https://gab.com/help", :style => "color:#3ACD80;text-decoration:none;outline:0;", :target => "_blank"} @help
%span for more information.
%br
%br
- elsif @account.is_pro
= f.input :username, wrapper: :with_label, input_html: { maxlength: 30 }, hint: false
- else
= 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