Ideally I want to "expand" my fields on the frontend. They have to be way longer just like when you make them from in the admin-panel. Currently they look like this:
However I want them portrayed like this (my admin is bootstrapped btw):
Here is my code:
<div class="container">
<h1>Opret ny klient</h1>
<form method="POST" class="post-form">{% csrf_token %}
{{ form.as_p }}
<button type="submit" class="btn btn-primary">Opret klient</button>
<button type="button" class="save btn btn-default">Tilbage til klienter</button>
</form>
</div>
The bottom line
How do I make my form seem as visually appealing as it looks in my admin panel?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…