13 lines
599 B
Text
13 lines
599 B
Text
<h1 class="mb-5"><%= _("Edit vote description") %></h1>
|
|
|
|
<form action="/votes/<%= @vote.secure_id %>/edit" method="post">
|
|
<div class="mb-3">
|
|
<label for="title" class="form-label"><%= _("Title") %></label>
|
|
<input type="text" name="title" value="<%= @vote.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"><%= @vote.description %></textarea>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary"><%= _("Save") %></button>
|
|
</form>
|