Commit 8270064e authored by kolosfed's avatar kolosfed

Small view fix

parent 632b8d54
Pipeline #636 failed with stages
...@@ -3,6 +3,4 @@ ...@@ -3,6 +3,4 @@
- captures[:links] = capture do - captures[:links] = capture do
= link_to icon('fas', 'reply', class: 'fa-2x ml-2', title: 'Back'), users_path = link_to icon('fas', 'reply', class: 'fa-2x ml-2', title: 'Back'), users_path
= render 'form', heading: "New user" = render 'form'
= link_to 'Back', users_path
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
.card-header.py-3 .card-header.py-3
%h2.d-inline.m-0.font-weight-bold.text-primary= User %h2.d-inline.m-0.font-weight-bold.text-primary= User
.float-right .float-right
= link_to icon('fas', 'edit', class: 'fa-2x ml-2', title: 'Edit'), @user = link_to icon('fas', 'edit', class: 'fa-2x ml-2', title: 'Edit'), edit_user_path(@user)
= link_to icon('fas', 'trash-alt', class: 'fa-2x ml-2', title: 'Delete'), @user, method: :delete, data: {confirm: "Are you sure?"} = link_to icon('fas', 'trash-alt', class: 'fa-2x ml-2', title: 'Delete'), @user, method: :delete, data: {confirm: "Are you sure?"}
= link_to icon('fas', 'reply', class: 'fa-2x ml-2', title: 'Back'), users_path = link_to icon('fas', 'reply', class: 'fa-2x ml-2', title: 'Back'), users_path
.card-body .card-body
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment