Rewrite views with Bootstrap

This commit is contained in:
ricola 2025-12-04 01:00:19 +01:00
parent 529f7118b1
commit 5a278fcddf
19 changed files with 424 additions and 279 deletions

View file

@ -1,13 +1,13 @@
<h1><%= _("New vote") %></h1>
<h1 class="mb-5"><%= _("New vote") %></h1>
<form action="/votes/new" method="post">
<p>
<label for="title"><%= _("Title") %></label>
<input type="text" name="title">
</p>
<p>
<label for="description"><%= _("Description") %></label>
<textarea type="text" name="description"></textarea>
</p>
<button type="submit"><%= _("Create new vote") %></button>
<div class="mb-3">
<label for="title" class="form-label"><%= _("Title") %></label>
<input type="text" name="title" class="form-control">
</div>
<div class="mb-3">
<label for="description" class="form-label"><%= _("Description") %></label>
<textarea type="text" name="description" class="form-control"></textarea>
</div>
<button type="submit" class="btn btn-primary"><%= _("Create new vote") %></button>
</form>