Sha256: f166632889c0190eadf8577c1211829f2e46cdd00886287c63cf2d55b132d4c0

Contents?: true

Size: 1.24 KB

Versions: 43

Compression:

Stored size: 1.24 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>
  <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 %>
      <p class="text-center">
        <%= link_to t('.sign_up'), decidim.new_user_registration_path, class: "sign-up-link" %>
      </p>
      <p class="text-center">
        <%= link_to t("devise.shared.links.forgot_your_password"), new_password_path(:user) %>
      </p>
    </div>
    <%= render "decidim/devise/shared/omniauth_buttons_mini" %>
  </div>
</div>

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
decidim-core-0.4.1 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.4.3 app/views/decidim/shared/_login_modal.html.erb
decidim-core-0.4.0 app/views/decidim/shared/_login_modal.html.erb