Sha256: adfa9c1535929d939830e5b28ec69b5df61342f5a0a2cbc8044dd5bb9f2083d5

Contents?: true

Size: 416 Bytes

Versions: 1

Compression:

Stored size: 416 Bytes

Contents

.se-vote-widget
  .se-vote-up
    =semantic_form_for [voteable,Vote.new(value:1)] do |f|
      = f.input :value, :as=>:hidden
      = f.buttons do
        =f.commit_button options[:upvote_text]
  .se-vote-score
    =voteable.vote_sum
  .se-vote-down
    =semantic_form_for [voteable,Vote.new(value:-1)] do |f|
      = f.input :value, :as=>:hidden
      = f.buttons do
        =f.commit_button options[:downvote_text]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_engine-0.0.1 app/views/votes/_widget.haml