From 2f279d30881064873dbc925f6e03f95eec50adc2 Mon Sep 17 00:00:00 2001 From: Jailson Dias Date: Sat, 10 Dec 2016 16:01:52 -0300 Subject: [PATCH] Colocando a opção de abrir o file quando vai edita-lo #456 --- files/templates/files/update_file.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/files/templates/files/update_file.html b/files/templates/files/update_file.html index 1e7bf60..0e85dcd 100644 --- a/files/templates/files/update_file.html +++ b/files/templates/files/update_file.html @@ -34,15 +34,16 @@ -
- {% trans "See current file" %} -
{% else %} {% render_field field class='form-control input-sm' %} - {{ field.help_text }} {% endif %} + {{ field.help_text }} - + {% if field.auto_id == 'id_file_url' %} +
+ {% trans "See current file" %} +
+ {% endif %} {% if field.errors %}