implement options, buttons and fixed bg

This commit is contained in:
2022-12-04 16:47:52 +02:00
parent 236d10a768
commit 77a7917869
12 changed files with 118 additions and 9 deletions

View File

@ -76,6 +76,10 @@ module Merged
puts "updating:#{key}=#{params[key]}"
end
end
options = params[:option]
@section.option_definitions.each do |option|
@section.set_option(option.name, options[option.name])
end
@section.save
redirect_to :section
end