Sha256: a4aec279b830bb2f9d4366929d10fe6396e14964b2e9cb787ebc61140b1f025e
Contents?: true
Size: 1.17 KB
Versions: 18
Compression:
Stored size: 1.17 KB
Contents
<div class="row"> <%= form_for(@notifications_settings, url: notifications_settings_path, method: :put, class: "user-form") do |f| %> <div class="switch tiny switch-with-label comments_notifications"> <label> <%= f.check_box :comments_notifications, label: false, class: "switch-input" %> <span class="switch-paddle"></span> <span class="switch-label"><%= t('.comments_notifications') %></span> </label> </div> <div class="switch tiny switch-with-label replies_notifications"> <label> <%= f.check_box :replies_notifications, label: false, class: "switch-input" %> <span class="switch-paddle"></span> <span class="switch-label"><%= t('.replies_notifications') %></span> </label> </div> <div class="switch tiny switch-with-label newsletter_notifications"> <label> <%= f.check_box :newsletter_notifications, label: false, class: "switch-input" %> <span class="switch-paddle"></span> <span class="switch-label"><%= t('.newsletter_notifications') %></span> </label> </div> <%= f.submit t(".update_notifications_settings"), disable_with: true %> <% end %> </div>
Version data entries
18 entries across 18 versions & 2 rubygems