Add a textbox component
This commit is contained in:
parent
5a7222d9a4
commit
0628052140
1 changed files with 13 additions and 0 deletions
13
src/newsreader/templates/components/textbox/textbox.html
Normal file
13
src/newsreader/templates/components/textbox/textbox.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<section class="section text-section">
|
||||
{% if title %}
|
||||
<h1 class="h1 section__title text-section__title">{{ title }}</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if body %}
|
||||
<p class="section__title text-section__body">{{ body }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% if footer %}
|
||||
<p class="section__footer text-section__footer">{{ footer }}</p>
|
||||
{% endif %}
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue