Sha256: afd4517033a0da0bdf9492ef98aa0fdfa50a616eb4b8b48557f858469bef0b54

Contents?: true

Size: 1.8 KB

Versions: 7

Compression:

Stored size: 1.8 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">
      <%= f.label :notifications_from_own_activity do %>
        <%= 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>
      <% end %>
    </div>
    <div class="switch tiny switch-with-label notifications_from_followed">
      <%= f.label :notifications_from_followed do %>
        <%= f.check_box :notifications_from_followed, label: false, class: "switch-input" %>
        <span class="switch-paddle"></span>
        <span class="switch-label"><%= t(".everything_followed") %></span>
      <% end %>
    </div>

    <p><strong><%= t(".send_notifications_by_email") %></strong></p>
    <div class="switch tiny switch-with-label email_on_notification">
      <%= f.label :email_on_notification do %>
        <%= 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>
      <% end %>
    </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

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.21.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.20.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.20.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.19.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.18.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.19.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.18.0 app/views/decidim/notifications_settings/show.html.erb