mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:33:37 +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
|