2012-03-30 13:30:39 +01:00
|
|
|
-set_meta_tags :title => [title_object(@platform), t('layout.repositories.new')]
|
2012-03-14 17:22:47 +00:00
|
|
|
= render :partial => 'platforms/submenu'
|
|
|
|
= render :partial => 'platforms/sidebar'
|
|
|
|
|
|
|
|
%h3= t("layout.repositories.new_header")
|
|
|
|
|
|
|
|
= form_for :repository, :url => @repositories_path, :html => { :class => :form } do |f|
|
|
|
|
= render :partial => "form", :locals => {:f => f}
|
|
|
|
|
2012-03-13 15:05:33 +00:00
|
|
|
-#.block
|
2011-03-31 02:15:17 +01:00
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
2011-10-17 15:20:35 +01:00
|
|
|
%li.first= link_to t("layout.repositories.list"), @repositories_path + "#platforms"
|
|
|
|
%li.active= link_to t("layout.repositories.new"), @new_repository_path
|
2011-03-31 02:15:17 +01:00
|
|
|
.content
|
|
|
|
%h2.title= t("layout.repositories.new_header")
|
|
|
|
.inner
|
2011-10-17 15:20:35 +01:00
|
|
|
= form_for :repository, :url => @repositories_path, :html => { :class => :form } do |f|
|
2011-03-31 02:15:17 +01:00
|
|
|
= render :partial => "form", :locals => {:f => f}
|
2011-10-17 15:20:35 +01:00
|
|
|
-# content_for :sidebar, render(:partial => 'sidebar')
|