magfest-archive / hotel

MAGFest hotel room management
GNU Affero General Public License v3.0
1 stars 2 forks source link

pre-populate # of rooms to add on room create form #62

Open binary1230 opened 7 years ago

binary1230 commented 7 years ago

We should probably also make the UI default to having a '1' in the 'how many rooms to create' box on room_form.html, which looks like the value attribute is ignored (according to the angular docs)

Looks like we'd have to do something like change:

        $scope.room = {notes: ''};

to:

        $scope.room = {notes: '', count=1};

and also remove 'value=1' from the element, which looks like it's being ignored currently

bds002 commented 7 years ago

@migetman9 you did this right? - it can be closed?

daredoes commented 7 years ago

yes just needs to be merged before it can be closed.