MorningPeak/app/views/home/index.html.slim
2015-07-14 01:53:47 +02:00

21 lines
697 B
Plaintext

.container
.row
.space-client.col-xs-4
.panel.panel-success
.panel-heading
h3 = t ".client.title"
.panel-body
- if user_signed_in?
= link_to t(".client.links.logout"), destroy_user_session_path, method: :delete
- else
= link_to t(".client.links.login"), new_user_session_path
.space-admin.col-xs-4
.panel.panel-danger
.panel-heading
h3 = t(".admin.title")
.panel-body
- if admin_signed_in?
= link_to t(".admin.links.logout"), destroy_admin_session_path, method: :delete
- else
= link_to t(".admin.links.login"), new_admin_session_path