{% extends 'editor/editor.html' %}

{% block main %}
    
    <div class="padding">
        
        <div>
            <a href="{{ url('blob', filename=filename) }}">View file</a>
            or
            <a href="{{ url('edit', type='file', id=filename) }}">edit properties</a>
        </div>
        
        <h3>File properties</h3>
        
        <div class="padding">
            {% for property in node|sort if property[0] != '@' %}
                <div class="margin-bottom">
                    <strong>{{ property }}: </strong>
                    {{ node[property] }}
                </div>
            {% endfor %}
        </div>
        
    </div>
    
{% endblock %}
