forked from PyAr/pyarweb
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% load i18n %} | ||
|
||
<form id="search-form" class="input-group" role="form" action="{% url "buscador" %}" method="get"> | ||
<input type="search" name="buscar" class="form-control input-lg" placeholder="{% trans 'Buscar...' %}" value="{{ buscar }}" required > | ||
<span class="input-group-btn"> | ||
<button class="btn btn-default btn-lg" type="submit"> | ||
<span class="glyphicon glyphicon-search"></span> | ||
</button> | ||
</span> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
{% extends "base_site.html" %} | ||
{% extends "base.html" %} | ||
{% load i18n %} | ||
|
||
{% block title %}500 {% endblock %} | ||
|
||
{% block left-column %} | ||
<section> | ||
{% block content %} | ||
<main id="main" class="container" role="main"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="col-md-8"> | ||
<div class="page-header"> | ||
<h1>{% trans "Server Error" %}</h1> | ||
</div> | ||
<p>Lo sentimos, pero el servidor encontró un error al procesar su solicitud.</p> | ||
</div> | ||
<div class="col-md-4" style="margin-top:20px;"> | ||
{% include 'search_form.html' %} | ||
</div> | ||
</div> | ||
</section> | ||
</main> | ||
{% endblock %} |