Hi Derek, Thanks for sharing. im gonna try with crispy forms.

El lunes, 26 de octubre de 2020 a la(s) 10:52:24 UTC-3, Derek escribió:

> What you want to achieve (labels to the side) is the same example shown in 
> the Django-crispy-forms README:
>
> https://github.com/django-crispy-forms/django-crispy-forms
>
>
>
> On Sunday, 25 October 2020 at 19:46:54 UTC+2 [email protected] wrote:
>
>> Hi guys,
>>
>> Is there any way to improve the distribution of the elements of the 
>> django form, from this (img1) to (img2)?
>>
>> How so?
>>
>> Thanks in Advance
>>
>> Code:
>> <body class="text-center">
>>   <div class="container mb-4">
>>     <form type="search" method="GET" actopm="." >
>>         {{filter.form|bootstrap}}
>>       <button type="submit" class="btn btn-primary">Buscar</button>
>>     </form>
>>     <div class="input-group mb-3">
>>       <div class="input-group-prepend">
>>         <span class="input-group-text">%</span>
>>       </div>
>>
>>       <input type="text" class="form-control" name="porcentaje" 
>> id="precioinp" aria-label="Porcentaje">
>>       <div class="input-group-append">
>>         <span class="input-group-text">.00</span>
>>       </div>
>>
>>       <button type="button" id="btnAplicar" class="btn 
>> btn-primary">Aplicar</button>
>>     </div>
>>   </div>
>> </body>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cf9e8cb9-4bcc-4b16-a07d-29a8274038b5n%40googlegroups.com.

Reply via email to