Sha256: feff5bbed9613bc39c242e3b9178b0aab604201c5576b7bfcb4539800e6dae69
Contents?: true
Size: 583 Bytes
Versions: 7
Compression:
Stored size: 583 Bytes
Contents
- new_record = @notification_subscription.new_record? - options = new_record ? {:url => whoops_notification_subscriptions_path, :method => :post} : {:url => whoops_notification_subscription_path(@notification_subscription), :method => :put} = form_for :notification_subscription, options do |f| #new-notification-rule %label.nofloat Email %br =f.text_field :email .filters = render(:partial => "filters/filters", :locals => {:filter => @notification_subscription.filter} ) = submit_tag (new_record ? "Create" : "Update"), :class => "btn primary"
Version data entries
7 entries across 7 versions & 1 rubygems