Get states from template instead of hard-coding
Hide state-modification from read-only view.