Show More
Commit Description:
MERGE changeset 306:307 from branch ytopc08-2 that fixes migration bug...
Commit Description:
MERGE changeset 306:307 from branch ytopc08-2 that fixes migration bug git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@308 6386c4cd-e34a-4fa8-8920-d93eb39b512e
File last commit:
Show/Diff file:
Action:
app/views/sites/new.html.erb | 26 lines | 388 B | text/plain | TextLexer |
<h1>New site</h1>
<%= error_messages_for :site %>
<% form_for(@site) do |f| %>
<p>
<b>Name</b><br />
<%= f.text_field :name %>
</p>
<p>
<b>Started</b><br />
<%= f.check_box :started %>
</p>
<p>
<b>Start time</b><br />
<%= f.datetime_select :start_time %>
</p>
<p>
<%= f.submit "Create" %>
</p>
<% end %>
<%= link_to 'Back', sites_path %>