% content_for :head do %> <%= stylesheet_link_tag 'scaffold' %> <%= javascript_include_tag :defaults %> <% end %>
Name | Full name | Full score | Date added | Available | |||||
---|---|---|---|---|---|---|---|---|---|
<%= in_place_editor_field :problem, :name, {}, :rows=>1 %> | <%= in_place_editor_field :problem, :full_name, {}, :rows=>1 %> | <%= in_place_editor_field :problem, :full_score, {}, :rows=>1 %> | <%= problem.date_added %> | <%= problem.available %> | <%= link_to '[Toggle]', :action => 'toggle_avail', :id => problem.id %> | <%= link_to '[Stat]', :action => 'stat', :id => problem.id %> | <%= link_to '[Show]', :action => 'show', :id => problem %> | <%= link_to '[Edit]', :action => 'edit', :id => problem %> | <%= link_to '[Destroy]', { :action => 'destroy', :id => problem }, :confirm => 'Are you sure?', :method => :post %> |