cleaned up dependency injection
added deleteButton, formInline and formHorizontal