aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/settings/index.html.haml
blob: d0a4f530ea2e5012342b1521129828c9da369d2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- title "Settings"
.container
  .row
    %h1.col-sm-3.col-md-offset-1.setting Settings
    .col-sm-9.col-md-7.col-lg-6
      = form_tag "/i/settings/update", method: :post do
        .checkbox
          = check_box_tag :notification_enabled, true, @account.notification_enabled
          = label_tag :notification_enabled, t("views.settings.enable_notification")
        .form-group
          = submit_tag "Submit", class: "btn btn-default"
          = link_to t("views.settings.confirm_deactivation"), { controller: "settings", action: "confirm_deactivation" }, class: "btn btn-link"