<% if any_vimeo_videos or user_can_modify_vimeo_videos %>
<%= render :partial => 'existing_vimeo_video' if any_vimeo_videos %>
<% if user_can_modify_vimeo_videos %>
>
<%= render :partial => "form", :locals => {:insert => true} %>
<% end %>
<% else %>
<% flash.now[:error] = t('.no_files') %>
<%= render :partial => "/shared/admin/form_actions",
:locals => {
:f => nil,
:cancel_url => '',
:hide_cancel => false,
:hide_delete => true,
:hide_submit => true,
:cancel_button_text => t('close', :scope => 'shared.admin.form_actions'),
:cancel_title => nil
} %>
<% end %>