Display code for the form to edit/create an index transferred to a new file

I have transferred the html code for displaying the form for index edit/create to a new library file called display_indexes.lib.php