Sunday, October 25, 2020

DJANGO forms: Improve the presentation of the elements

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

<body class="text-center">
  <div class="container mb-4">
    <form type="search" method="GET" actopm="." >
      <button type="submit" class="btn btn-primary">Buscar</button>
    <div class="input-group mb-3">
      <div class="input-group-prepend">
        <span class="input-group-text">%</span>
      <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>
      <button type="button" id="btnAplicar" class="btn btn-primary">Aplicar</button>

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
To view this discussion on the web visit

No comments:

Post a Comment