Browse Source

replace text input with password input and swap input for Form::password

pull/276/head
Kode 6 years ago
parent
commit
7b9d3f0ec6
  1. 2
      resources/views/supportedapps/proxmox.blade.php
  2. 2
      resources/views/supportedapps/transmission.blade.php

2
resources/views/supportedapps/proxmox.blade.php

@ -12,7 +12,7 @@
</div> </div>
<div class="input"> <div class="input">
<label>{{ __('app.apps.password') }}</label> <label>{{ __('app.apps.password') }}</label>
<input type="password" name="config[password]" value="{{ $item->config->password or '' }}" placeholder="{{ __('app.apps.password') }}" class="form-control config-item" data-config="password" /> {!! Form::password('config[password]', null, array('placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item')) !!}
</div> </div>
<div class="input"> <div class="input">
<button style="margin-top: 32px;" class="btn test" id="test_config">Test</button> <button style="margin-top: 32px;" class="btn test" id="test_config">Test</button>

2
resources/views/supportedapps/transmission.blade.php

@ -12,7 +12,7 @@
</div> </div>
<div class="input"> <div class="input">
<label>{{ __('app.apps.password') }}</label> <label>{{ __('app.apps.password') }}</label>
{!! Form::text('config[password]', null, array('placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item')) !!} {!! Form::password('config[password]', null, array('placeholder' => __('app.apps.password'), 'data-config' => 'password', 'class' => 'form-control config-item')) !!}
</div> </div>
<div class="input"> <div class="input">
<button style="margin-top: 32px;" class="btn test" id="test_config">Test</button> <button style="margin-top: 32px;" class="btn test" id="test_config">Test</button>

Loading…
Cancel
Save