Sha256: 01b59127e5b60f09025ae70a5d7a7215d3dfbd81f46a1f244759097e926e4dc0

Contents?: true

Size: 1.69 KB

Versions: 5

Compression:

Stored size: 1.69 KB

Contents

<div class="row">
  <%= form_for(@notifications_settings, url: notifications_settings_path, method: :put, class: "user-form") do |f| %>
    <p><strong><%= t(".receive_notifications_about") %></strong></p>
    <div class="switch tiny switch-with-label notifications_from_own_activity">
      <label>
        <%= f.check_box :notifications_from_own_activity, label: false, class: "switch-input" %>
        <span class="switch-paddle"></span>
        <span class="switch-label"><%= t(".own_activity") %></span>
      </label>
    </div>
    <div class="switch tiny switch-with-label notifications_from_followed">
      <label>
        <%= f.check_box :notifications_from_followed, label: false, class: "switch-input" %>
        <span class="switch-paddle"></span>
        <span class="switch-label"><%= t(".everything_followed") %></span>
      </label>
    </div>

    <p><strong><%= t(".send_notifications_by_email") %></strong></p>
    <div class="switch tiny switch-with-label email_on_notification">
      <label>
        <%= f.check_box :email_on_notification, label: false, class: "switch-input" %>
        <span class="switch-paddle"></span>
        <span class="switch-label"><%= t(".email_on_notification") %></span>
      </label>
    </div>

    <p><strong><%= t(".newsletters") %></strong></p>
    <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

5 entries across 5 versions & 1 rubygems

Version Path
decidim-core-0.17.2 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.17.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.16.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.17.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.16.0 app/views/decidim/notifications_settings/show.html.erb