[feature] import flash messages to templates