<%= semantic_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>

		<%= f.input :length, :input_html => { :class => "span7", :disabled => @resource.published? } %>

    <%= f.input :summary, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>

    <%= f.input :outline, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>

    <%= f.input :outcomes, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>

    <%= f.input :audience, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>

    <%= f.input :prerequisites, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>

    <%= f.input :requirements, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>

    <%= f.input :materials, :as => :text, :input_html => { :class => 'span10', :rows => 10, :disabled => @resource.published? } %>


  <% end %>
<% end %>

Add editing facility for courses
Add editing facility for courses
