2011-07-29 20:05:47 +02:00
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<%= render :partial => 'folders/list' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% content_for :title do %>
|
2011-08-16 20:05:58 +02:00
|
|
|
- <%= t(:contacts,:scope=>:contact) %>
|
2011-07-29 20:05:47 +02:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="block" id="block-tables">
|
|
|
|
<div class="secondary-navigation">
|
|
|
|
<%= raw main_navigation(:contacts) %>
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
2011-08-16 20:05:58 +02:00
|
|
|
<%= form_tag(contacts_ops_path,{:name=>'contacts'})%>
|
|
|
|
|
|
|
|
<% if @contacts.size.zero? %>
|
|
|
|
<div class="actions-bar wat-cf">
|
|
|
|
<div class="header_info"><%= t(:no_entries,:scope=>:contact) %>
|
|
|
|
<%= content_tag(:span, link_to(raw('('+t(:create_new,:scope=>:contact)+')'),new_contact_path),:class=>"other_info") %>
|
|
|
|
</div>
|
|
|
|
<% else %>
|
|
|
|
<%= render :partial => 'ops' %>
|
|
|
|
<%= render :partial => 'list' %>
|
|
|
|
<% end %>
|
2011-07-29 20:05:47 +02:00
|
|
|
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2011-08-16 20:05:58 +02:00
|
|
|
|