Commit 797f6945 authored by Maik Messerschmidt's avatar Maik Messerschmidt
Browse files

Fixed some bugs in inputs.edit view.

parent 76c931ae
......@@ -21,7 +21,7 @@
<div class="form-group">
{{ Form::label('max_uses', 'Maximum use count', ['class' => 'control-label' ]) }}
{{ Form::number('max_uses', old('max_uses', 1), ['min' => 0, 'class' => 'form-control']) }}
{{ Form::number('max_uses', old('max_uses'), ['min' => 0, 'class' => 'form-control']) }}
<small id="max_uses-help" class="form-text text-muted">
How often this input data can be used in total.
(Leave empty, for inifinite uses.)
......@@ -46,7 +46,7 @@
<div class="form-group">
{{ Form::label('increments', 'Increment mode for the use count.', ['class' => 'control-label' ]) }}
{{ Form::select('increments', ['auto' => 'auto', 'manual' => 'manual', 'never' => 'never'], old('increments', 'auto'), ['class' => 'form-control']) }}
{{ Form::select('increments', ['auto' => 'auto', 'manual' => 'manual', 'never' => 'never'], old('increments'), ['class' => 'form-control']) }}
<small id="increments-help" class="form-text text-muted">
When to increment the use count:
<ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment