Created
December 6, 2010 01:08
-
-
Save sgonyea/729682 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
| %p#notice | |
| =notice | |
| .current-motions | |
| =link_to "New Motion", new_motion_path, {:class => "quick-tool"} | |
| %h1 | |
| Current Motions | |
| %ul | |
| [email protected]_with_index do |motion, i| | |
| %li{ :class => cycle('even', 'odd') } | |
| =link_to "More", motion_path(motion), :class => "plus" | |
| =link_to %Q{"#{motion.title}"}, motion_path(motion) | |
| %span.meta | |
| by #{motion_creator_display_name(motion)} | |
| %p | |
| =truncate(motion.description) | |
| -if @motions.empty? | |
| %li | |
| There are no motions available to review |
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
| = flash[:notice] unless flash[:notice].blank? | |
| .current-motions | |
| = link_to "New Motion", new_motion_path, {:class => "quick-tool"} | |
| %h1 Current Motions | |
| %ul | |
| - @motions.each_with_index do |motion, i| | |
| %li{ :class => cycle('even', 'odd') } | |
| =link_to "More", motion_path(motion), :class => "plus" | |
| =link_to "\"#{motion.title}\"", motion_path(motion) | |
| %span.meta by Test Username | |
| %p= truncate(motion.description) | |
| - if @motions.empty? | |
| %li There are no motions available to review |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment