Skip to content

Commit

Permalink
Merge pull request #3822 from craigballinger/fix-threshold-update
Browse files Browse the repository at this point in the history
Update threshold input name to match model
  • Loading branch information
jbrooksuk committed Oct 18, 2019
2 parents 10c4e52 + 6a0bafe commit d7fd5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/dashboard/metrics/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<input type="number" min="0" max="4" class="form-control" name="places" id="metric-places" required value="{{ $metric->places }}" placeholder="{{ trans('forms.metrics.places') }}">
</div>
<div class="form-group">
<label for="metric-places">{{ trans('forms.metrics.threshold') }}</label>
<input type="number" min="0" max="10" name="metric[threshold]" value="{{ Binput::old('metric.threshold', $metric->threshold) }}" class="form-control" required>
<label for="metric-threshold">{{ trans('forms.metrics.threshold') }}</label>
<input type="number" min="0" max="10" name="threshold" id="metric-threshold" value="{{ Binput::old('metric.threshold', $metric->threshold) }}" class="form-control" required>
</div>
<div class="checkbox">
<label>
Expand Down

0 comments on commit d7fd5be

Please sign in to comment.