Open milindalvares opened 10 years ago
@allyrods I need some database stuff done for this. Look at /member-area. I need a model for hotels. No need to do image model, just save to database and use the url. Also need an admin section for creating/updating etc. Use your imagination as to how to go about it. Give me an ETA and regular updates on progress.
Including @hashaxel in the mix.
@milindalvares Database stuff is done, Admin section is working. Can Add, Update & Delete Hotels.
@allyrods
@milindalvares
@allyrods
@hashaxel
Admin now has the option to change/add special offer image and PDF file in member area. I have coded to add multiple special offers in case we want to make it a slideshow in the future. Currently it will display only one special offer in member-area.
I'd rather you had started with a barebones than with GPC code. Delete everything that's not required. DO NOT write CSS. This is very important. Nothing to do with your abilities, just that I need it as barebones as possible. Delete everything from the styles, except for the bootstrap call. Write the HTML structure according to bootstrap specs, that's it. Make the app.rb lean as can be; even remove the commented out code.
Barebones structure, with working forms for inquiry.
The design is not yet done for this, but essentially the member enters a password (there are IN ALL POSSIBILITIES just three passwords). The system detects which kind of password is entered and shows a page for: Member Class A, Member Class B, and Admin. We still render the same resultant view.erb but some of the content will change according to the what the action tells it.