issue4 #2

Merged
Karavel merged 2 commits from issue4 into master 2024-05-15 00:17:03 +02:00
2 changed files with 9 additions and 13 deletions
Showing only changes of commit c049fc8d24 - Show all commits

View File

@ -202,13 +202,6 @@ input[type=text]:read-only {
fill: #009ade;
}
.left{
margin-right: auto;
}
.right{
margin-left: auto;
}
.leftside {
grid-area: leftside;
}
@ -466,6 +459,9 @@ table.items select:focus-visible {
.extendedright {
margin-right: auto;
}
.extendedleft {
margin-left: auto;
}
[disabled] {
border-color: var(--color-border-gray) !important;
color: var(--color-border-gray) !important;

View File

@ -1,13 +1,13 @@
<div class="leftside">
<% content_for :navigation, flush: true do %>
<div class="left">
<%= image_link_to t(:back), 'arrow-left-bold-outline',
request.referer.present? ? :back : root_url %>
</div>
<div class="right">
<%= image_button_to t(".delete"), "account-remove-outline", user_registration_path,
method: :delete, onclick: {confirm: t(".confirm_delete")} %>
</div>
<% end %>
</div>
<div class="rightside">
<%= image_button_to t(".delete"), "account-remove-outline", user_registration_path,
method: :delete, :class => "extendedleft", onclick: {confirm: t(".confirm_delete")} %>
</div>
<div class="main">
<%= labelled_form_for resource, url: registration_path(resource), html: {method: :patch} do |f| %>
<%= f.email_field :email, size: 30, autofocus: true, autocomplete: "off" %>