Various minor style improvements

This commit is contained in:
Riccardo Graziosi
2022-04-07 18:58:18 +02:00
parent 1943b8446f
commit ad67c3986b
17 changed files with 42 additions and 27 deletions

View File

@@ -17,8 +17,11 @@
</div>
<div class="form-group">
<%= f.label :notifications_enabled %>
<%= f.check_box :notifications_enabled %>
<%= f.label :notifications_enabled %> <br />
<%= f.check_box :notifications_enabled, style: "transform: scale(1.5)" %>
<small id="notificationsHelp" class="form-text text-muted">
if disabled, you won't receive any notification
</small>
</div>
<% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>

View File

@@ -23,11 +23,6 @@
<%= f.password_field :password_confirmation, placeholder: "Password confirmation", required: true, class: "form-control" %>
</div>
<div class="form-group">
<%= f.label :notifications_enabled %>
<%= f.check_box :notifications_enabled %>
</div>
<div class="actions">
<%= f.submit "Sign up", class: "btn btn-block" %>
</div>