Commit 3ecc2180 authored by Richard's avatar Richard
Browse files

Add button

changed success label of group creation
parent 972bf3c0
......@@ -23,7 +23,7 @@ class IndexController < ApplicationController
"Fehlgeschlagen. API Error HTTP #{e.http_code}"
end
else
@result = 'Ok'
@result = 'Gruppe wurde erstellt.'
end
end
end
......
......@@ -35,6 +35,9 @@
<div class="d-flex flex-grow-1">
<aside class="p-3 border-right" style="width: 15%; border-color: rgba(0, 0, 0, 0.5)">
<form method="get" action="/creategroup">
<button name="button" type="submit" class="mt-2 btn btn-primary">Gruppe erstellen</button>
</form>
Sidebar
</aside>
<main role="main" class="ml-3 mt-3 mr-5 w-100">
......
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