Skip to content

Commit

Permalink
Miss
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Apr 3, 2011
1 parent e69c462 commit 53d15d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ tmp/
config/*.yml
public/javascripts/cached_*
public/stylesheets/cached_*
public/about.html
db/sphinx

#以bundle install --path vendor/bundle方式安装,不影响开发者现有gems环境
Expand Down
2 changes: 1 addition & 1 deletion app/views/cpanel/asks/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<div id="cpanel_ask" class="form">
<%= simple_form_for(@ask,
:url => (@ask.id.blank? ? cpanel_asks_path : cpanel_ask_path(@ask.id)) ) do |f| %>
<%= render "/shared/error_messages", :target => @ask %>

<div class="inputs">
<%= f.input :title %>
<%= f.input :body, :as => :text %>
<%= f.input :user_id %>
<%= f.input :spams_count %>
<%= f.input :topics %>
</div>
<div class="actions">
<button type="submit">提交</button>
Expand Down

0 comments on commit 53d15d1

Please sign in to comment.