Sha256: a4aec279b830bb2f9d4366929d10fe6396e14964b2e9cb787ebc61140b1f025e

Contents?: true

Size: 1.17 KB

Versions: 18

Compression:

Stored size: 1.17 KB

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 comments_notifications">
      <label>
        <%= f.check_box :comments_notifications, label: false, class: "switch-input" %>
        <span class="switch-paddle"></span>
        <span class="switch-label"><%= t('.comments_notifications') %></span>
      </label>
    </div>
    <div class="switch tiny switch-with-label replies_notifications">
      <label>
        <%= f.check_box :replies_notifications, label: false, class: "switch-input" %>
        <span class="switch-paddle"></span>
        <span class="switch-label"><%= t('.replies_notifications') %></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

18 entries across 18 versions & 2 rubygems

Version Path
decidim-core-0.5.1 app/views/decidim/notifications_settings/show.html.erb
decidim-0.5.1 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.5.0 app/views/decidim/notifications_settings/show.html.erb
decidim-0.5.0 decidim-core/app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.4.4 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.4.2 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.4.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.4.3 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.4.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.3.2 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.3.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.3.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.2.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.1.0 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.0.8.1 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.0.7 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.0.6 app/views/decidim/notifications_settings/show.html.erb
decidim-core-0.0.5 app/views/decidim/notifications_settings/show.html.erb