Different colors for new tracks, types and levels

Every time a new track, event type or difficulty level is created, the color picker has a different color by default.

Closes https://github.com/openSUSE/osem/issues/1077
This commit is contained in:
Ana 2016-07-02 21:37:16 +02:00
parent 798998b73f
commit 0deaf1abc7
8 changed files with 21 additions and 3 deletions

View file

@ -6,6 +6,7 @@ FactoryGirl.define do
length 30
minimum_abstract_length 0
maximum_abstract_length 500
color '#ffffff'
program
end