blablabla
This commit is contained in:
@ -8,10 +8,10 @@
|
||||
</div>
|
||||
<%= button "Log out", class: "btn btn-outline btn-sm",
|
||||
to: Routes.user_session_path(@conn, :delete), method: :delete %>
|
||||
<% else %>
|
||||
<%= link "Register", class: "link",
|
||||
to: Routes.user_registration_path(@conn, :new) %>
|
||||
<%= button "Log in", class: "btn btn-sm",
|
||||
to: Routes.user_session_path(@conn, :new), method: :get %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<%= link "Register", class: "link",
|
||||
to: Routes.user_registration_path(@conn, :new) %>
|
||||
<%= button "Log in", class: "btn btn-sm",
|
||||
to: Routes.user_session_path(@conn, :new), method: :get %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user