2010-07-29 18:08:41 +02:00
|
|
|
<div class="list-stategroup-contexts-container">
|
2010-10-31 21:27:13 +08:00
|
|
|
<h2><span id="<%= state %>-contexts-count" class="badge"><%= context_state_group.length %></span><%= state.titlecase %> <%= t('common.contexts') %></h2>
|
2009-04-07 21:18:23 +02:00
|
|
|
<div id="<%= state%>-contexts-empty-nd" style="<%= no_contexts ? 'display:block' : 'display:none'%>">
|
2010-10-31 21:27:13 +08:00
|
|
|
<div class="message"><p><%= t('contexts.no_contexts', :state => state) %></p></div>
|
2009-04-07 21:18:23 +02:00
|
|
|
</div>
|
|
|
|
|
<div id="list-contexts-<%= state %>">
|
|
|
|
|
<%= render :partial => 'context_listing', :collection => context_state_group %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|