Sha256: 31716ea7a23a81897ceae34abd84833312f9c3278cc244f6ed49c72185a33b11
Contents?: true
Size: 959 Bytes
Versions: 18
Compression:
Stored size: 959 Bytes
Contents
<%= content_for :breadcrumbs do %> <%= breadcrumbs_for_my_account %> <% end %> <div class="row"> <%= form_for :notifications, html: {class: 'mu-form'} do |f| %> <div class="mu-tab-body"> <div class="mu-user-header"> <h1><%= t(:manage_notifications) %></h1> <div class="mu-profile-actions d-none d-md-block"> <a class="btn btn-secondary" href="<%= notifications_user_path %>">Cancelar</a> <button type="submit" class="btn btn-complementary"><%= t :save %></button> </div> </div> <p><%= t(:i_want_emails_of) %>:</p> <% Notification.subjects.keys.each do |subject| %> <div class="form-check"> <%= label_tag subject, t("notification_subject.#{subject}"), class: 'form-check-label' %> <%= f.check_box subject, checked: !@user.ignored_notifications.include?(subject), class: 'form-check-input' %> </div> <% end %> </div> <% end %> </div>
Version data entries
18 entries across 18 versions & 1 rubygems