Sha256: 15e48230f62293ff9c286df07834448374586aa2e380a89226b50860496193b7
Contents?: true
Size: 1.14 KB
Versions: 9
Compression:
Stored size: 1.14 KB
Contents
<div class='toolbar'> <ul class='actions'> <li> <%= button_link_to t("new_coupon"), new_object_url, :icon => 'add' %> </li> </ul> <br class='clear' /> </div> <h1><%= t("coupons") %></h1> <table class="index"> <thead> <tr> <th><%= t("code") %></th> <th><%= t("description") %></th> <th><%= t("combine") %></th> <th><%= t("usage_limit") %></th> <th><%= t("expiration") %></th> <th><%= t("calculator") %></th> <th><%= t("action") %></th> </tr> </thead> <tbody> <% @coupons.each do |coupon|%> <tr id="<%= dom_id coupon %>"> <td width="80px"><%= coupon.code %></td> <td width="200px"><%= coupon.description %></td> <td width="40px"><%= coupon.combine ? t(:yes) : t(:no) %></td> <td width="40px"><%= coupon.usage_limit %></td> <td width="70px"><%= coupon.expires_at.to_s(:short_date) if coupon.expires_at %></td> <td width="120px"><%= coupon.calculator.description %></td> <td> <%= link_to_edit coupon %> <%= link_to_delete coupon %> </td> </tr> <% end %> </tbody> </table>
Version data entries
9 entries across 9 versions & 1 rubygems