removed inputs
added css_class method to post model.