Added content attribute and made the form dynamic