Sha256: f5420ab1a1b2973ecc650ff98a067a92516fb24a158c83129f1fcf9b4207adff

Contents?: true

Size: 876 Bytes

Versions: 34

Compression:

Stored size: 876 Bytes

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 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>
    <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

34 entries across 34 versions & 2 rubygems

Version Path
decidim-core-0.6.6 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.6 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.6.5 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.5 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.6.4 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.4 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.6.3 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.3 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.6.2 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.2 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.6.1 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.1 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.6.0 app/views/decidim/notifications_settings/show.html.erb
decidim-0.6.0 decidim-core/app/views/decidim/notifications_settings/show.html.erb