add prepend option and index to orderable template.