exceptionHandle
huangjingquan 12 years ago
parent 767231c202
commit 9221d1b376

@ -29,7 +29,7 @@
<!--informations-->
<div class="inf_user_image">
<% @project = Project.find_by_id(@project.id)%>
<% @course= Course.find_by_extra(@project.identifier)%>
<% @course = Course.find_by_extra(@project.identifier)%>
<table>
<tr>
<td><%= link_to image_tag(url_to_avatar(@project), :class => 'avatar2') %></td>

@ -12,10 +12,9 @@
<% end %></p>
<% if @project.new_record? %>
<%= f.fields_for @course do |m| %>
<p style="margin-left:-10px;"><%= m.text_field :time, :required => true, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
<p style="margin-left:-10px;"><%= m.text_field :state, :size => 60, :style => "width:488px;margin-left: 10px;" %></p>
<% end %>
<% end %>
<!-- <p style="margin-left:-10px;"><%= f.check_box :is_public, :style => "margin-left:10px;" %></p> -->

Loading…
Cancel
Save