add conditional tags to front end editing