Sha256: 3c7df108277c094ed6b602bee0a9f2175d94a3621ecf6d8bd8e7195c620df9d9

Contents?: true

Size: 1.73 KB

Versions: 12

Compression:

Stored size: 1.73 KB

Contents

<div class="reveal" id="loginModal" data-reveal>
  <div class="reveal__header">
    <h3 class="reveal__title"><%= t(".please_sign_in") %></h3>
    <button class="close-button" data-close aria-label="Close modal"
      type="button">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  <% if current_organization.sign_in_enabled? %>
    <div class="row">
      <div class="columns medium-8 medium-centered">
          <%= decidim_form_for(Decidim::User.new, as: :user, url: session_path(:user), html: { class: "register-form new_user" }) do |f| %>
            <div>
              <div class="field">
                <%= f.email_field :email, autofocus: true %>
              </div>
              <div class="field">
                <%= f.password_field :password, autocomplete: "off" %>
              </div>
            </div>
            <div class="actions">
              <%= f.submit t("devise.sessions.new.sign_in"), class: "button expanded" %>
            </div>
          <% end %>
          <% if current_organization.sign_up_enabled? %>
            <p class="text-center">
              <%= link_to t(".sign_up"), decidim.new_user_registration_path, class: "sign-up-link" %>
            </p>
          <% end %>
          <p class="text-center">
            <%= link_to t("devise.shared.links.forgot_your_password"), new_password_path(:user) %>
          </p>
      </div>
    </div>
    <%= render "decidim/devise/shared/omniauth_buttons_mini" %>
  <% else %>
    <div class="row">
      <div class="columns medium-8 medium-centered">
        <p>
          <%= t("sign_in_disabled", scope: "decidim.devise.sessions.new") %>
        </p>
      </div>
    </div>
    <%= render "decidim/devise/shared/omniauth_buttons" %>
  <% end %>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-core-0.21.0 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.20.1 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.20.0 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.19.1 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.18.1 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.19.0 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.17.2 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.18.0 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.17.1 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.16.1 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.17.0 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.16.0 app/views/decidim/shared/_login_modal.html.erb