rails 3 fixes

This commit is contained in:
2013-07-14 11:11:18 -04:00
parent e563725dc5
commit 0991d7af8e
46 changed files with 164 additions and 129 deletions

View File

@@ -2,6 +2,6 @@
%h1.title Editar noticia
%p
- form_tag course_news_instance_url(@course, @news), :method => :put do
= form_tag course_news_instance_url(@course, @news), :method => :put do
= render :partial => 'form'
= submit_tag 'Editar', :accesskey => 'e'

View File

@@ -1,6 +1,6 @@
%h4.title= @course.full_name
%h1.title Adicionar notícia
- form_tag course_news_url, :method => :post do
= form_tag course_news_url, :method => :post do
= render :partial => 'form'
= submit_tag "Adicionar", :accesskey => 'e'