django-lfs / lfs / templates / manage / payment / payment_price_criteria.html

{% load i18n lfs_tags %}

<div id="price-criteria">
    
    <h1>
        {% trans 'Edit criteria for' %} {{payment_price.price|currency}}
    </h1>
    
    <form action="{% url lfs_manage_save_payment_price_criteria payment_price.id %}"
          method="post">

        <div class="top-buttons">
            <a href="{% url lfs_add_criterion %}"
               class="criterion-add-first-button">
                <img src="{{ STATIC_URL }}lfs/icons/add.png" /
                     alt="Add" />
                
                {% trans 'Add criterion' %}
            </a>
        </div>

        <table class="criteria">
            {% for criterion in criteria %}
                {{criterion|safe}}
            {% endfor %}
        </table>  

        <div class="manage-form-buttons">
            <input class="price-criterion-save-button" 
                   type="submit" 
                   value="{% trans 'Save criteria' %}" />
        </div>

    </form>
</div>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.