Sha256: 72cceb334d10cceb037f4085deace5093313de06a5c9aabd0df3465ddc710852
Contents?: true
Size: 1.74 KB
Versions: 1
Compression:
Stored size: 1.74 KB
Contents
<div class="reveal" id="loginModal" data-reveal> <div class="reveal__header"> <h2 class="reveal__title"><%= t(".please_sign_in") %></h2> <button class="close-button" data-close aria-label="<%= t(".close_modal") %>" type="button"> <span aria-hidden="true">×</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, namespace: "login", as: :user, url: session_path(:user), html: { class: "register-form new_user" }) do |f| %> <div> <div class="field"> <%= f.email_field :email %> </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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-core-0.22.0 | app/views/decidim/shared/_login_modal.html.erb |