loads input option partials on type change
This commit is contained in:
@ -43,6 +43,11 @@ module Admin
|
||||
end
|
||||
end
|
||||
|
||||
def options
|
||||
@question = params[:question_id].present? ? Question.find(params[:question_id]) : Question.new
|
||||
render layout: false
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def question_params
|
||||
|
Reference in New Issue
Block a user