Skip to content

Commit

Permalink
Subscription quantity inside spinner now.
Browse files Browse the repository at this point in the history
  • Loading branch information
knowncitizen committed Sep 13, 2011
1 parent f1be55b commit 4ef5daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/views/systems/_subs.html.haml
Expand Up @@ -21,7 +21,7 @@
%td #{"--"}
%td #{"--"}
%td
= number_field_tag "spinner[#{sub.poolId}]", nil, :in => 1...sub.quantity, :class=>"ui-spinner"
= number_field_tag "spinner[#{sub.poolId}]", nil, :in => 1...sub.quantity, :step=>1, :value=>sub.consumed, :class=>"ui-spinner"
%td #{sub.expires}
- else
%tr
Expand Down Expand Up @@ -54,7 +54,7 @@
%td #{"--"}
%td #{"--"}
%td
= number_field_tag "spinner[#{sub.poolId}]", nil, :in => 1...sub.quantity, :class=>"ui-spinner"
= number_field_tag "spinner[#{sub.poolId}]", nil, :in => 1...sub.quantity, :step=>1, :value=>0, :class=>"ui-spinner"
%td #{sub.expires}
- else
%tr
Expand Down

0 comments on commit 4ef5daf

Please sign in to comment.