13 lines
448 B
Text
13 lines
448 B
Text
<h1><%= _("Edit vote description") %></h1>
|
|
|
|
<form action="/votes/<%= @vote.secure_id %>/edit" method="post">
|
|
<p>
|
|
<label for="title"><%= _("Title") %></label>
|
|
<input type="text" name="title" value="<%= @vote.title %>">
|
|
</p>
|
|
<p>
|
|
<label for="description"><%= _("Description") %></label>
|
|
<textarea type="text" name="description"><%= @vote.description %></textarea>
|
|
</p>
|
|
<button type="submit"><%= _("Save") %></button>
|
|
</form>
|