package components import ( "github.com/alecthomas/chroma/lexers" "git.myrkvi.com/myrkvi/bin/models" ) func getLanguages() []string { names := lexers.Names(false) names = append([]string{"Determine from source"}, names...) return names } templ ChooseSyntax(name string) { } templ FileUpload(text, name, id string) { No file chosen 0 put me.files[0].name into text's innerText else put 'No file chosen' into text's innerText end` } /> } templ BoostButton(label, to string) { { label } } templ GetButton(label, to, target, swap string) { { label } } templ SubmitFormButton(label string) { } templ NavMenu(items []models.MenuItem, current int, swapOob bool) { } templ CombineTempls(comps ...templ.Component) { for _, comp := range comps { {! comp } } } templ ErrorMessage(msg, id string) {