Skip to content

Commit

Permalink
Merge pull request #148 from loftwah/dl/improve-signup-form
Browse files Browse the repository at this point in the history
makes forms uniform
  • Loading branch information
loftwah authored Sep 14, 2024
2 parents 1761571 + eba1b0c commit 98c7406
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
<p class="text-gray-400 text-sm">Opt in to join the user directory and leaderboard (if public analytics is enabled)</p>
</div>

<div class="flex items-center">
<%= f.check_box :public_analytics, class: 'mr-2' %>
<%= f.label :public_analytics, class: 'text-lime-200 font-semibold' %>
<p class="text-gray-400 text-sm ml-2">Make your profile analytics public</p>
</div>

<div>
<%= f.label :invite_code, "Invite Code", class: 'block text-lime-200 font-semibold mb-2' %>
<%= f.text_field :invite_code, class: 'block w-full px-4 py-2 border border-gray-700 rounded bg-gray-900 text-white focus:outline-none focus:border-lime-500', placeholder: 'Enter your invite code' %>
Expand Down

0 comments on commit 98c7406

Please sign in to comment.