mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:36:36 +08:00
Adds support for a tag-chooser in form templates. It supports single tag and multi tags. The source of the displayed tags has to be a tag_group name. --------- Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
7 lines
161 B
Ruby
7 lines
161 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:form_template) do
|
|
name { sequence(:name) { |i| "template_#{i}" } }
|
|
template "---\n- type: input
|
|
id: name\n"
|
|
end
|