diff options
author | Starfall <root@starfall.blue> | 2020-04-11 20:04:46 -0500 |
---|---|---|
committer | Starfall <root@starfall.blue> | 2020-04-11 20:04:46 -0500 |
commit | 144ecfcfc7d9974117f1563084409a9558290a60 (patch) | |
tree | a26bd8374e4b8264dbae815fbfbd3b91ae51450b /app/views/auth | |
parent | 12d35783db1bb302d7540d8d3690ab6eed3dac3b (diff) |
Revert "Revert "Merge branch 'glitch'""
This reverts commit 12d35783db1bb302d7540d8d3690ab6eed3dac3b.
Diffstat (limited to 'app/views/auth')
-rw-r--r-- | app/views/auth/registrations/new.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/auth/registrations/new.html.haml b/app/views/auth/registrations/new.html.haml index e807c8d86..bcd66fb8a 100644 --- a/app/views/auth/registrations/new.html.haml +++ b/app/views/auth/registrations/new.html.haml @@ -27,7 +27,7 @@ - if approved_registrations? && !@invite.present? .fields-group - = f.simple_fields_for :invite_request do |invite_request_fields| + = f.simple_fields_for :invite_request, resource.invite_request || resource.build_invite_request do |invite_request_fields| = invite_request_fields.input :text, as: :text, wrapper: :with_block_label, required: false = f.input :invite_code, as: :hidden |