35 lines
936 B
ERB
35 lines
936 B
ERB
<section class="page-section">
|
|
<div class="content page-panel auth-panel">
|
|
<h1>Connexion</h1>
|
|
|
|
<% if flash["error"] || flash["notice"] %>
|
|
<div class="flash-container">
|
|
<% if error = flash["error"] %>
|
|
<p class="flash flash--error" role="alert"><%= error %></p>
|
|
<% end %>
|
|
|
|
<% if notice = flash["notice"] %>
|
|
<p class="flash flash--notice" role="status"><%= notice %></p>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%== rodauth.login_form_header %>
|
|
<%== rodauth.render("login-form") %>
|
|
|
|
<% links = rodauth.login_form_footer_links %>
|
|
|
|
<% unless links.empty? %>
|
|
<nav class="auth-links" aria-label="Autres possibilités">
|
|
<h2>Autres possibilités</h2>
|
|
|
|
<ul>
|
|
<% links.each do |_, url, text| %>
|
|
<li><a href="<%= url %>"><%= text %></a></li>
|
|
<% end %>
|
|
</ul>
|
|
</nav>
|
|
<% end %>
|
|
</div>
|
|
</section>
|