mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 06:33:53 +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
|