File tree Expand file tree Collapse file tree
app/assets/javascripts/discourse/templates/modal Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <div class = " modal-body " >
2- <form >
1+ <form {{ action saveAutoClose on = " submit " }} >
2+ <div class = " modal-body " >
33 {{ auto-close-form autoCloseTime =auto_close_time autoCloseValid =auto_close_valid }}
4- </form >
5- </ div >
6- < div class =" modal-footer " >
7- < button class = ' btn btn-primary ' {{ action saveAutoClose }} {{ bindAttr disabled = " auto_close_invalid " }} >{{ i18n topic.auto_close_save }} </button >
8- < a {{ action closeModal }} >{{ i18n cancel }} </a >
9- <button class = ' btn pull-right ' {{ action removeAutoClose }} > {{ i18n topic.auto_close_remove }} </ button >
10- </div >
4+ </div >
5+ < div class = " modal-footer " >
6+ < button class =' btn btn-primary ' type = ' submit ' {{ bindAttr disabled = " auto_close_invalid " }} > {{ i18n topic.auto_close_save }} </ button >
7+ < a {{ action closeModal }} >{{ i18n cancel }} </a >
8+ < button class = ' btn pull-right ' {{ action removeAutoClose }} >{{ i18n topic.auto_close_remove }} </button >
9+ </ div >
10+ </form >
You can’t perform that action at this time.
0 commit comments