修正课程通知编辑BUG

GitlabVersion
nwb 11 years ago
parent ec71e8eeeb
commit 3a249e7196

@ -10,7 +10,7 @@
<h3><strong><%=h @news.title %></strong></h3>
<% if authorize_for('news', 'edit') %>
<% if authorize_for_course('news', 'edit') %>
<div id="edit-news" style="display:none;">
<%= labelled_form_for :news, @news, :url => news_path(@news),
:html => { :id => 'news-form', :multipart => true, :method => :put } do |f| %>

Loading…
Cancel
Save