fixed bugs in pagelist edit form

- unopened span tag
- missing $ from variable