Move rendering into private templates
Add an explicit template renderer with HTML views and partials for the app, bootstrap, package, and catalog pages. Move shared reporting setup into config/reporting.php and relocate stylesheet assets under css/.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<div class="prompt-list-item">
|
||||
<button type="button"
|
||||
class="prompt-select js-open-prompt"
|
||||
data-kind="personal"
|
||||
data-id="{{id}}">
|
||||
<span class="prompt-name">{{name}}</span>
|
||||
<span class="prompt-subline">{{metadata}}</span>
|
||||
</button>
|
||||
<form method="post" action="/prompts?lang={{language_url}}&mode=personal"
|
||||
onsubmit="return confirm({{{confirm_json}}});">
|
||||
<input type="hidden" name="action" value="delete_prompt">
|
||||
<input type="hidden" name="prompt_id" value="{{id}}">
|
||||
<button type="submit">{{delete_label}}</button>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user