1
I have a form in Django and in the template I display the fields to be filled:
<div id="interval" class="form-inline form-group">
<div class="two wide field">
{% for price in prices %}
<div class="fields">
<div class="ten wide field">
<label>Preço</label>
{{ price.price }}
</div>
<div class="ten wide field">
<label>Inicio</label>
{{ price.start_time }}
</div>
<div class="ten wide field">
<label>Final</label>
{{ price.end_time }}
</div>
</div>
</div>
But it’s getting one field under the other:
I want the fields to appear side by side, Inicio | Fim | Preco
, I’ve tried to touch the Ivs but I’m not getting it, it’s something in Django?
How about CSS ? Without it you can’t answer in a concrete way.
– hugocsl
It’s not a question of Django but css, hint: use that package to Forms
– Sidon