Sha256: aa5c6f6adf561c1ebc20cede574c8b51546e3274080b4f7d9f4bbbfbae02f63b
Contents?: true
Size: 1.91 KB
Versions: 13
Compression:
Stored size: 1.91 KB
Contents
<% add_decidim_page_title(t("devise.sessions.new.log_in")) %> <%= render layout: "layouts/decidim/shared/layout_center" do %> <div class="flex justify-center"> <h1 class="title-decorator my-12"><%= t("devise.sessions.new.log_in") %></h1> </div> <div class="login__info font-semibold"> <% if current_organization.sign_up_enabled? %> <p> <%= t("decidim.devise.sessions.new.are_you_new?") %> <%= link_to t("decidim.devise.sessions.new.register"), new_user_registration_path %> </p> <% elsif current_organization.sign_in_enabled? %> <p> <%= t("decidim.devise.sessions.new.sign_up_disabled") %> </p> <% else %> <p> <%= t("decidim.devise.sessions.new.sign_in_disabled") %> </p> <% end %> </div> <span class="login__info-separator"></span> <% cache current_organization do %> <%= render "decidim/devise/shared/omniauth_buttons" %> <% end %> <% if current_organization.sign_in_enabled? %> <%= decidim_form_for(resource, namespace: "session", as: resource_name, url: session_path(resource_name)) do |f| %> <div class="form__wrapper"> <%= f.email_field :email, autocomplete: "email", placeholder: t("placeholder_email", scope: "decidim.devise.shared"), required: true %> <%= render partial: "decidim/account/password_fields", locals: { form: f } %> <% if devise_mapping.rememberable? %> <%= f.check_box :remember_me, label_options: { class: "form__wrapper-checkbox-label" } %> <% end %> </div> <div class="form__wrapper-block"> <button type="submit" class="button button__lg button__secondary"> <%= t("devise.sessions.new.log_in") %> <%= icon "arrow-right-line", class: "fill-current" %> </button> </div> <div class="login__links"> <%= render "decidim/devise/shared/links" %> </div> <% end %> <% end %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems