mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 10:53:47 +08:00
e25218014e
* FIX: add theme field errors Expose theme field errors on theme pages Previously these errors were not being displayed on themes.
10 lines
191 B
Ruby
10 lines
191 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:theme_field) do
|
|
theme
|
|
target_id { 0 }
|
|
name { sequence(:name) { |i| "scss_#{i + 1}" } }
|
|
value { ".test {color: blue;}" }
|
|
error { nil }
|
|
end
|