Style sign in page a bit

This commit is contained in:
Charlotte Van Petegem 2025-05-23 16:47:13 +02:00
parent 7656f2a277
commit 32557190bd
Signed by: chvp
SSH key fingerprint: SHA256:s9rb8jBVfdahqWHuBAcHCBP1wmj4eYQXZfqgz4H3E9E
2 changed files with 31 additions and 5 deletions

View file

@ -35,6 +35,28 @@ h4 {
padding: 1rem; padding: 1rem;
} }
.login-intro {
background-color: white;
padding: 1rem;
form {
display: flex;
gap: 1rem;
align-items: stretch;
label {
align-self: center;
}
}
}
input[type=submit] {
background-color: #1abcff;
border: none;
padding: 0.5rem;
font-size: 16px;
}
.politicians-listing { .politicians-listing {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View file

@ -1,5 +1,9 @@
<%= form_with url: sessions_path, method: :post do |form| %> <section class="login-intro">
<%= form.label :token, "Token" %> <h1>Inburgeringsexamen Gent</h1>
<%= form.password_field :token %> <p>Hier komt een langere tekst met wat uitleg.</p>
<%= form.submit "Start exam" %> <%= form_with url: sessions_path, method: :post do |form| %>
<% end %> <%= form.label :token, "Geef hier je persoonlijke token in:" %>
<%= form.password_field :token %>
<%= form.submit "Start examen" %>
<% end %>
</section>