Add a group with one click

This commit is contained in:
FlxAlbroscheit 2015-05-12 14:09:51 +02:00
parent 57c47a8e36
commit 4667d0e7e8

View file

@ -1,4 +1,3 @@
<div class="widget" id="group-sidebar"> <div class="widget" id="group-sidebar">
<h3>{{$title}}</h3> <h3>{{$title}}</h3>
@ -22,7 +21,11 @@
</ul> </ul>
</div> </div>
<div id="sidebar-new-group"> <div id="sidebar-new-group">
<a href="group/new">{{$createtext}}</a> <a onclick="javascript:$('#group-new-form').fadeIn('fast');return false;">{{$createtext}}</a>
<form id="group-new-form" action="group/new" method="post" style="display:none;">
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
<input name="groupname" id="id_groupname" placeholder="{{$creategroup}}">
</form>
</div> </div>
{{if $ungrouped}} {{if $ungrouped}}
<div id="sidebar-ungrouped"> <div id="sidebar-ungrouped">