Show More
Commit Description:
Merge pull request #15 from nattee/master...
Commit Description:
Merge pull request #15 from nattee/master finalizing merge of nattee's master
References:
File last commit:
Show/Diff file:
Action:
app/views/sites/new.html.erb | 31 lines | 463 B | text/plain | TextLexer |
jittat
[web] added site and time out basic functionality...
r85 <h1>New site</h1>
<%= error_messages_for :site %>
Jittat Fakcharoenphol
added verify plug-in, fixed form_for, form_tag in views, changed named_scope to scope
r319 <%= form_for(@site) do |f| %>
jittat
[web] added site and time out basic functionality...
r85 <p>
<b>Name</b><br />
<%= f.text_field :name %>
</p>
<p>
jittat
MERGED 308:HEAD from http://theory.cpe.ku.ac.th/grader/web/branches/ytopc08-2/, removed some registration info...
r162 <b>Password</b><br />
<%= f.text_field :password %>
</p>
<p>
jittat
[web] added site and time out basic functionality...
r85 <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 %>