mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-16 22:25:28 +01:00
The bold state changes once the ajax operation is complete. Project status changes now also show a flash notice when the ajax operation completes. Add a selenium test to confirm this behavior. Fixed a bug where hiding a project would make deferred items hidden. Now we leave them deferred. Added a little breathing room between the project status options. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@395 a4c988fc-2ded-0310-b66e-134b36920a42
20 lines
No EOL
696 B
Text
20 lines
No EOL
696 B
Text
<%
|
|
@project = project_form
|
|
%>
|
|
<tr>
|
|
<td width="150"><label for="project_name">Name:</label></td>
|
|
<td width="300"><%= text_field :project, 'name', :class => 'project-name' %></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="150"><label for="project_description">Description (optional):</label></td>
|
|
<td width="300"><%= text_area :project, 'description', "cols" => 30, "rows" => 4, :class => 'project-description' %></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="150"><label for="project_done">Project status:</label></td>
|
|
<td width="300">
|
|
<% ['active', 'hidden', 'completed'].each do | state | %>
|
|
<%= radio_button(:project, 'state', state) %> <%= state.titlecase %>
|
|
<% end %>
|
|
</td>
|
|
</tr>
|
|
<% @project = nil %> |