1. different header for signed in user (partials?)
2. user home page has link to subject page in the header
3. Subjects page - contains a list of documents grouped by subject name and each document has a document_type name (model relationships already created)
4. a link to create new subject - Subject create screen includes title and description and title can't be null (flash notice)
5. Next to each subject title on the Subjects page edits the name and description of the subject on the Subject edit page. The delete subject page allows the user to destroy the subject or cancel.
6. Next to each subject name should be a document count for the number of documents associated with each subject i.e. Chemistry (3 documents)
7. each document_type name listed under each subject should have a count i.e. "Class 1 of 3", Lab 2 of 3" etc… and the documents should be ordered by date created. Deleting a document from the database should reorder the count. So if I delete document class 3 of 3 then class 2 of 3 will become class class 2 of 2. Each document links to the document page with the name of the subject and document type.
8. Each subject on the Subjects page has a New link that links to a page that lists the document types.
9. Document_type page: the document type page should only allow you to bullet one document type. This page has a cancel and submit and at the top has a link to the Subject create page. when you cancel it redirects you back to the subjects page. when you submit it redirects you to the document create page
10. Document Create Page: contains a text area with submit and cancel button and a title that shows which document type is associated with the document i.e. class 3 of 4. submitting the document will then show the Document show page. Cancel will redirect the user to the Subjects page.
11. Document Show page has an edit and delete. delete links to a delete page with option to destroy or cancel. cancel returns user to Document show page.
12. document show and edit pages also has a ' create new' link to create a new document and the 'create new' link redirects the user to the document_type page that is associated with the current subject of the document. so for example if the original document page was a document for Biology and they click 'create new' they will be creating a new document for Biology.