Create form input fields for tags, when tags are enabled.

Fixes #41
More compact if/else structure
Merge pull request #42 from turanct/41-tags-form-input-fields

41 tags form input fields