Reload form with same data
This commit is contained in:
parent
78abcce758
commit
f8b5f80823
2 changed files with 4 additions and 2 deletions
2
vedia.rb
2
vedia.rb
|
|
@ -316,6 +316,8 @@ get '/votes/:id/edit' do
|
|||
find_vote
|
||||
require_organizer
|
||||
require_draft_vote
|
||||
params[:title] = @vote.title
|
||||
params[:description] = @vote.description
|
||||
erb :votes_edit_description
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue