diff --git a/sigi/apps/diagnosticos/views.py b/sigi/apps/diagnosticos/views.py index 96b0771..4233a6b 100644 --- a/sigi/apps/diagnosticos/views.py +++ b/sigi/apps/diagnosticos/views.py @@ -50,6 +50,7 @@ def categoria_detalhes(request, id_diagnostico, id_categoria): else: form = DiagnosticoMobileForm(instance=diagnostico, category=id_categoria) - context = RequestContext(request, {'form': form, 'categoria': categoria}) + context = RequestContext(request, {'form': form, 'categoria': categoria, + 'diagnostico': diagnostico}) return render_to_response('diagnosticos/diagnosticos_categorias_form.html', context) diff --git a/sigi/templates/diagnosticos/diagnosticos_categorias_form.html b/sigi/templates/diagnosticos/diagnosticos_categorias_form.html index 6e08f51..dffbdbf 100644 --- a/sigi/templates/diagnosticos/diagnosticos_categorias_form.html +++ b/sigi/templates/diagnosticos/diagnosticos_categorias_form.html @@ -7,7 +7,7 @@ {% block cabecalho %}

{{ categoria.nome }}

- Voltar {% endblock cabecalho %}