Skip to content

Commit

Permalink
better positioning of add button on list view
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhuang committed Jun 6, 2013
1 parent 2506f87 commit 4ba9b83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deme_django/cms/templates/item/list_bare.html
Expand Up @@ -74,7 +74,9 @@
</div>
{% ifagentcanglobal item_create_ability %}
<div class="row">
<a class="btn btn-primary" href="{% url item_type_url viewer=item_type_lower,action="new" %}{% if modal %}?modal=1{% endif %}{% if receiver_input_id %}&id={{ receiver_input_id }}{% endif %}{% if src %}&src={{ src }}{% endif %}"><i class="glyphicon glyphicon-plus-sign"></i> Create a new {{ item_type_name }}</a>
<div class="col col-lg-9 col-offset-3">
<a class="btn btn-primary" href="{% url item_type_url viewer=item_type_lower,action="new" %}{% if modal %}?modal=1{% endif %}{% if receiver_input_id %}&id={{ receiver_input_id }}{% endif %}{% if src %}&src={{ src }}{% endif %}"><i class="glyphicon glyphicon-plus-sign"></i> Create a new {{ item_type_name }}</a>
</div>
</div>
{% endifagentcanglobal %}
</form>
Expand Down

0 comments on commit 4ba9b83

Please sign in to comment.