forked from e621ng/e621ng
[Users] Fix login input styles (#827)
This commit is contained in:
parent
ba18a9d7b5
commit
afce6b614c
@ -237,7 +237,7 @@ div#c-users {
|
|||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple_form.session {
|
.simple_form.session_form {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
max-width: 360px;
|
max-width: 360px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div id="c-sessions"><div id="a-new">
|
<div id="c-sessions"><div id="a-new">
|
||||||
<%= simple_form_for(:session, url: session_path) do |f| %>
|
<%= simple_form_for(:session, url: session_path, html: { class: "session_form" }) do |f| %>
|
||||||
<h1>Sign in</h1>
|
<h1>Sign in</h1>
|
||||||
<%= f.input(:url, as: :hidden, input_html: { value: params[:url] }) %>
|
<%= f.input(:url, as: :hidden, input_html: { value: params[:url] }) %>
|
||||||
<%= f.input(:name, label: "Username") %>
|
<%= f.input(:name, label: "Username") %>
|
||||||
|
Loading…
Reference in New Issue
Block a user