templated index new and show views for stock