add form and list item directives