Mercurial > piecrust2
comparison piecrust/admin/templates/create_page.html @ 1184:386744f74c4b
admin: Allow selecting a scaffolding template.
Templates available to the prepare command are now also available in the
admin panel.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 21 May 2020 22:11:28 -0700 |
parents | 5e91bc0e3b4d |
children |
comparison
equal
deleted
inserted
replaced
1183:62900c42d6dd | 1184:386744f74c4b |
---|---|
16 </div> | 16 </div> |
17 </div> | 17 </div> |
18 | 18 |
19 {% endfor %} | 19 {% endfor %} |
20 | 20 |
21 {% if content_templates %} | |
22 <label for="content-template">Content Template:</label> | |
23 <select name="content-template" id="content-template"> | |
24 {% for ctpl in content_templates %} | |
25 <option value="{{ctpl}}">{{ctpl}}</option> | |
26 {% endfor %} | |
27 </select> | |
28 {% endif %} | |
29 | |
21 <input type="hidden" name="source_name" value="{{source_name}}" /> | 30 <input type="hidden" name="source_name" value="{{source_name}}" /> |
22 | 31 |
23 <div class="row"> | 32 <div class="row"> |
24 <div class="col-md-6 col-md-offset-1"> | 33 <div class="col-md-6 col-md-offset-1"> |
25 <a class="btn btn-danger" href="{{url_cancel}}">Cancel</a> | 34 <a class="btn btn-danger" href="{{url_cancel}}">Cancel</a> |