Skip to content

Commit

Permalink
Merge pull request #14 from GunpreetAhuja/dirty
Browse files Browse the repository at this point in the history
lab report template created with a problem in form's action.
  • Loading branch information
inderpreetsingh committed Jun 19, 2014
2 parents d9c7b36 + 32c84b4 commit bbd0226
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/templates/print/form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<html>
<head>
<title>Lab Reports</title>
</head>
<body>
<form action='{% url 'reports:add_dept' %}' method='post'>
{% csrf_token %}
<b>Material:</b>
<select>
{% for name in forms.material_name %}
<option value="{{name}}" > </option>
{% endfor %}
</select>
<p><b>Time span:</b></p>
<p>From:<input type="text" name="From" />
To: <input type="text" name="To" /></p>
<input type="submit" value="Submit" />
</form>
</body>
</html>

0 comments on commit bbd0226

Please sign in to comment.