Created
September 29, 2014 11:49
-
-
Save alexmuller/94e53efcf076186b0274 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-sm-12"> | |
<div class="pull-right"> | |
{% if loop.index0 > 0 %} | |
<button type="submit" class="btn btn-default" name="move_module_up_{{ loop.index0 }}"> | |
<span class="glyphicon glyphicon-arrow-up"></span> Move module up | |
</button> | |
{% endif %} | |
{% if form.modules|length > loop.index %} | |
<button type="submit" class="btn btn-default" name="move_module_down_{{ loop.index0 }}"> | |
<span class="glyphicon glyphicon-arrow-down"></span> Move module down | |
</button> | |
{% endif %} | |
<button type="submit" class="btn btn-danger" name="remove_module_{{ loop.index0 }}"> | |
<span class="glyphicon glyphicon-remove"></span> Remove module | |
</button> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment