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(:folders,:scope=>:folder) %>
|
2011-07-29 20:05:47 +02:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<div class="block" id="block-tables">
|
|
|
|
<div class="secondary-navigation">
|
|
|
|
<%= raw main_navigation(:folders) %>
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="columns wat-cf">
|
|
|
|
<div class="column left">
|
2011-08-16 20:05:58 +02:00
|
|
|
<%= form_tag(folders_create_path,:class=>'form') %>
|
|
|
|
<%= raw select_for_folders("","parent_folder",@folders,t(:parent,:scope=>:folder),true) %>
|
|
|
|
<%= raw simple_input_field("folder",t(:to_create,:scope=>:folder),"") %>
|
|
|
|
<%= raw form_button('create','tick.png') %>
|
2011-07-29 20:05:47 +02:00
|
|
|
</form>
|
2011-08-16 20:05:58 +02:00
|
|
|
<%= form_tag(folders_delete_path,:class=>'form') %>
|
|
|
|
<%= raw select_for_folders("","folder",@folders,t(:to_delete,:scope=>:folder),true) %>
|
|
|
|
<%= raw form_button('delete','cross.png') %>
|
2011-07-29 20:05:47 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div class="column right">
|
2011-08-16 20:05:58 +02:00
|
|
|
<%= form_tag(folders_refresh_path,:class=>'form') %>
|
|
|
|
<%= raw form_button('refresh','tick.png') %>
|
2011-07-31 22:45:29 +02:00
|
|
|
</form>
|
2011-08-16 20:05:58 +02:00
|
|
|
<%= form_tag(folders_show_hide_path,:class=>'form') %>
|
|
|
|
<%= raw multi_select("", 'folders_to_show[]', @folders, @folders_shown,t(:shown,:scope=>:folder),:id,"",{:text => [:parent,:delim,:name]}) %>
|
|
|
|
<%= raw form_button('show_hide','tick.png') %>
|
2011-07-29 20:05:47 +02:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|