mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Start with a Rails app with authentication via Persona, Foundation CSS
This commit is contained in:
parent
9ac52066b4
commit
7cd9f207f5
72 changed files with 2586 additions and 0 deletions
9
app/views/application/_login_button.html.slim
Normal file
9
app/views/application/_login_button.html.slim
Normal file
|
@ -0,0 +1,9 @@
|
|||
= form_tag '/auth/browser_id/callback', id: 'browser-id-form'
|
||||
= hidden_field_tag(:assertion)
|
||||
|
||||
- if signed_in?
|
||||
= link_to session_path, data: { method: :delete, logout: true }
|
||||
| Abmelden
|
||||
- else
|
||||
= link_to session_path, data: { 'persona-login' => true }
|
||||
| Anmelden
|
Loading…
Add table
Add a link
Reference in a new issue