Fix write env to work with nulls and change from to address

This commit is contained in:
Joseph Cohen
2016-06-11 15:23:02 -05:00
committed by James Brooks
parent 1fe4789760
commit a5ed3c40a9
3 changed files with 9 additions and 7 deletions
+4 -4
View File
@@ -76,10 +76,10 @@
@endif
</div>
<div class="form-group">
<label>{{ trans('forms.setup.mail_from') }}</label>
<input type="text" class="form-control" name="env[mail_from]" value="{{ Binput::old('env.mail_from') }}" placeholder="notifications@alt-three.com">
@if($errors->has('env.mail_from'))
<span class="text-danger">{{ $errors->first('env.mail_from') }}</span>
<label>{{ trans('forms.setup.mail_address') }}</label>
<input type="text" class="form-control" name="env[mail_address]" value="{{ Binput::old('env.mail_address') }}" placeholder="notifications@alt-three.com">
@if($errors->has('env.mail_address'))
<span class="text-danger">{{ $errors->first('env.mail_address') }}</span>
@endif
</div>
<div class="form-group">