Created
July 29, 2010 16:36
-
-
Save rangalo/498602 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h1>Projekt Liste</h1> | |
| <% form_tag :controller => 'project', :action => 'add_candidates', :method => 'post' do %> | |
| <table id="oldprojecttable"> | |
| <tr> | |
| <th>Name</th> | |
| <th>Beginn Datum</th> | |
| <th>End Datum</th> | |
| </tr> | |
| <% @projects.each_with_index do |project,i| %> | |
| <% row_class = (i%2) == 0 ? "reven" : "rodd" %> | |
| <tr class="<%= row_class %>"> | |
| <%= render project %> | |
| </tr> | |
| <% end %> | |
| </table> | |
| <table id="projecttable"></table> | |
| <div id="pager"></div> | |
| <%= render 'grid_data.xml.builder' %> | |
| <div class="action"> <%= link_to 'Neues Projekt', new_project_path %></div> | |
| <% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment