mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 07:26:04 +08:00
58b49bce41
* FEATURE: adds support for initial values through /new-topic to form templates
8 lines
154 B
Ruby
8 lines
154 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:form_template) do
|
|
name { sequence(:name) { |i| "template_#{i}" } }
|
|
template "- type: input
|
|
id: name"
|
|
end
|