shared folder created in app/view and redditpost_form.html.erb added