custom template header on add master/detail

how can create header template detail on page add master/detail on table detail?

Can it be made through custom templates? detail page on table list? because I try to change it only changes in the detail table list page. do not change on the add master / detail table detail page.

What edit from file after generate? thanks

What is “header template detail”?

I want to change the header template on the add master / detail page.
just in the details table. just change the header template. do you mean what i want? thanks

No, I don’t quite understand. Can you give an example?

example…
on default temoplate add master/detail

name : input text
address: input text
detail
header: name1 name2 mane 3
input text: … … …

im want custome detail header example:
header : NAME PRIMARY
name1 | name2| name3
input text: … |… |…


where should I customize the template in that detail?
thanks

You may use jQuery in Startup Script to insert, see: https://api.jquery.com/insertbefore/.