Mercurial > farol > farol
comparison farol/templates/producttree/edit_branch.j2 @ 45:7c4d001839e7
Move the Display of the ProductTree to its own page
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Tue, 07 Oct 2014 13:01:10 +0200 |
parents | 6594ff7c37b4 |
children | 086e35c4aee7 |
comparison
equal
deleted
inserted
replaced
44:df5182d0787f | 45:7c4d001839e7 |
---|---|
33 {{ selectinput('type', "Type", types, branch._type) }} | 33 {{ selectinput('type', "Type", types, branch._type) }} |
34 {{ textinput('name', "Name", value=branch._name, required=True) }} | 34 {{ textinput('name', "Name", value=branch._name, required=True) }} |
35 {{ selectinput2('parent', "Path to Parent Branch", branches, branch.getParentPath()) }} | 35 {{ selectinput2('parent', "Path to Parent Branch", branches, branch.getParentPath()) }} |
36 | 36 |
37 <button class="btn btn-primary" type="submit">{{ action or 'Update' }}</button> | 37 <button class="btn btn-primary" type="submit">{{ action or 'Update' }}</button> |
38 <a class="btn btn-danger" href="{{ url_for('document.view') }}">Cancel</a> | 38 <a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a> |
39 </form> | 39 </form> |
40 {% endblock %} | 40 {% endblock %} |