Project for the UPV to develop an app like BlaBlaCar but only for UPV people.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

minor change

+7 -9
+7 -9
upvcarshare/templates/journeys/blocks/details.passengers.html
··· 24 24 </form> 25 25 </td> 26 26 {% else %} 27 - <td> 28 - <form method="post" action="{% url "journeys:confirm" passenger.pk %}"> 27 + <td colspan="2"> 28 + <form method="post" action="{% url "journeys:confirm" passenger.pk %}" style="display: inline-block"> 29 29 {% csrf_token %} 30 - <input type="hidden" name="return_to" value="{{ request.path }}"> 31 - <input type="hidden" name="user" value="{{ passenger.user.pk }}"> 32 - <button type="submit" class="btn btn-success">{% trans "Confirmar" %}</button> 30 + <input type="hidden" name="return_to" value="{{ request.path }}"> 31 + <input type="hidden" name="user" value="{{ passenger.user.pk }}"> 32 + <button type="submit" class="btn btn-success">{% trans "Confirmar" %}</button> 33 33 </form> 34 - </td> 35 - <td> 36 - <form method="post" action="{% url "journeys:reject" passenger.pk %}"> 34 + <form method="post" action="{% url "journeys:reject" passenger.pk %}" style="display: inline-block"> 37 35 {% csrf_token %} 38 36 <input type="hidden" name="return_to" value="{{ request.path }}"> 39 37 <input type="hidden" name="user" value="{{ passenger.user.pk }}"> ··· 43 41 {% endif %} 44 42 {% endif %} 45 43 </tr> 46 - {% empty %} 44 + {% empty %} 47 45 <p class="text-muted">{% trans "No hay pasajeros ahora mismo." %}</p> 48 46 {% endfor %} 49 47 </tbody>