Show More
Commit Description:
fixed problem edit form...
Commit Description:
fixed problem edit form
git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@27 6386c4cd-e34a-4fa8-8920-d93eb39b512e
References:
File last commit:
Show/Diff file:
Action:
app/views/problems/_form.rhtml
| 19 lines
| 622 B
| text/html+ruby
| RhtmlLexer
|
|
r0 | <%= error_messages_for 'problem' %> | ||
<!--[form:problem]--> | ||||
<p><label for="problem_name">Name</label><br/> | ||||
<%= text_field 'problem', 'name' %></p> | ||||
<p><label for="problem_full_name">Full name</label><br/> | ||||
<%= text_field 'problem', 'full_name' %></p> | ||||
<p><label for="problem_full_score">Full score</label><br/> | ||||
<%= text_field 'problem', 'full_score' %></p> | ||||
<p><label for="problem_date_added">Date added</label><br/> | ||||
<%= date_select 'problem', 'date_added' %></p> | ||||
<p><label for="problem_available">Available</label><br/> | ||||
|
r8 | <%= select("problem","available",[['True',true],['False',false]]) %></p> | ||
|
r0 | <!--[eoform:problem]--> | ||