Input form for arguments of custom Ransacker method in Ransack Gem

How to make Input form for My ransacker method to accept values.

class Person ransacker :author_max_title_of_article_where_body_length_between, args: [:parent, :ransacker_args] do |parent, args| min, max = args query = <<-SQL (SELECT MAX(articles.title) FROM articles WHERE articles.person_id = AND CHAR_LENGTH(articles.body) BETWEEN #{min.to_i} AND #{max.to_i} GROUP BY articles.person_id ) SQL Arel.sql(query) end end

what will be form in view to accept args?