mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Add routing and pages for managing templates
So that users can see what it the flow is like to: - add new templates - edit existing templates
This commit is contained in:
10
app/templates/components/textbox.html
Normal file
10
app/templates/components/textbox.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% macro textbox(name, label, value='', small=True) %}
|
||||
<div class="form-group">
|
||||
<label class="form-label" for="{{ name }}">{{ label }}</label>
|
||||
{% if small %}
|
||||
<input class="form-control" id="{{ name }}" name="{{ name }}" type="text" value="{{ value }}">
|
||||
{% else %}
|
||||
<textarea class="form-control" id="{{ name }}" name="{{ name }}" cols="30" rows="10">{{ value }}</textarea>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user