support for a null send limit for unlimited

part of #144
This commit is contained in:
Adam Cooke
2017-05-16 15:52:43 +01:00
parent 8b7bcd9a6a
commit cb0e3a4f4e
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
%fieldset.fieldSet.fieldSet--wide
.fieldSet__field
= f.label :send_limit, :class => 'fieldSet__label'
.fieldSet__input= f.text_field :send_limit, :autofocus => true, :class => 'input input--text'
.fieldSet__input= f.text_field :send_limit, :class => 'input input--text', :placeholder => "No limit"
.fieldSet__field
= f.label :allow_sender, "Allow sender header", :class => 'fieldSet__label'
.fieldSet__input= f.select :allow_sender, [["No", false], ["Yes - can use Sender header", true]], {}, :class => 'input input--select'