<%= setup_context :object => JSONModel(:repository).new(@repository['repository']) %> <%= form_for @repository, :as => "repository", :url => {:action => :create}, :html => {:class => 'form-horizontal aspace-record-form'} do |f| %> <%= form_context :repository, @repository do |form| %>
<%= render_aspace_partial :partial => "repositories/sidebar" %>
<%= render_aspace_partial :partial => "shared/toolbar_new_records" %>
<%= link_to_help :topic => "repository" %>

<%= I18n.t("actions.new_prefix") %> <%= I18n.t("repository._singular") %> <%= I18n.t("repository._singular") %>


<%= render_aspace_partial :partial => "repositories/form_container", :locals => {:form => form} %>
<%= link_to I18n.t("actions.cancel"), :back, :class => "btn btn-cancel btn-default" %>
<% end %> <% end %>