Show More
Commit Description:
import problem replaced old one, fixed small problems...
Commit Description:
import problem replaced old one, fixed small problems problem validates name to have no space, test interface can deal with broken dependecies on problems. git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@436 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/main/_submission_box.html.erb | 8 lines | 309 B | text/plain | TextLexer |
<% form_tag({:action => 'submit'}, :multipart => true) do %>
Problem: <%= select 'submission', 'problem_id',
[[(t 'main.specified_in_header'),'-1']] +
@problems.collect {|p| [p.full_name, p.id]},
:selected => '-1' %>
File: <%= file_field_tag 'file' %>
<%= submit_tag 'Submit' %>
<% end %>