Commit f5427939 authored by Tiago's avatar Tiago

fixed example app, added select-account button

parent 28b4c12b
Pipeline #192230417 passed with stages
in 3 minutes and 56 seconds
......@@ -15,6 +15,7 @@
<div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom box-shadow">
<h5 class="my-0 mr-md-auto font-weight-normal">Goggles</h5>
<nav class="my-2 my-md-0 mr-md-3">
<a class="btn btn-outline-primary" href="/select-account">Select Account</a>
<% if rodauth.logged_in? %>
<a class="btn btn-outline-primary" href="/add-account">Add Account</a>
<form action="/logout" class="navbar-form pull-right" method="post">
<div class="list-group">
#{ do |account|
next if account[rodauth.account_id_column] == rodauth.session_value
<form method="post" class="rodauth" role="form" id="select-account-form">>
<form method="post" class="rodauth" role="form" id="select-account-form">
<input type="hidden" name="#{rodauth.login_param}" value="#{account[rodauth.login_column]}" />
<button type="submit" class="list-group-item list-group-item-action">
\ No newline at end of file
\ No newline at end of file
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