Skip to content

Commit

Permalink
Merge pull request #9 from bluzphp/develop
Browse files Browse the repository at this point in the history
Fixed HTML
  • Loading branch information
Anton authored Oct 12, 2017
2 parents dff77b3 + c5c3fb7 commit d8f0fbd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions application/modules/options/views/crud.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@
<div class="modal-body">
<?php if ($method === 'PUT') :?>
<div class="form-group row">
<label class="control-label col-lg-4" for="author"><?=__('Author')?></label>
<label class="col-form-label col-lg-4" for="author"><?=__('Author')?></label>
<div class="col-lg-8">
<input type="text" class="form-control" id="author" name="author" value="<?=\Application\Users\Table::findRow($row->userId)->login;?>" disabled />
</div>
</div>
<?php endif; ?>
<div class="form-group row">
<label class="control-label col-lg-4" for="namespace"><?=__('Namespace')?></label>
<label class="col-form-label col-lg-4" for="namespace"><?=__('Namespace')?></label>
<div class="col-lg-8">
<input type="text" class="form-control" id="namespace" name="namespace" value="<?=esc($row->namespace)?:'default'?>" <?=($method !== 'POST')?'disabled':''?> required />
</div>
</div>
<div class="form-group row">
<label class="control-label col-lg-4" for="key"><?=__('Key name')?></label>
<label class="col-form-label col-lg-4" for="key"><?=__('Key name')?></label>
<div class="col-lg-8">
<input type="text" class="form-control" id="key" name="key" value="<?=esc($row->key)?>" <?=($method !== 'POST')?'disabled':''?> />
</div>
</div>
<div class="form-group row">
<label class="control-label col-lg-4" for="value"><?=__('Key value')?></label>
<label class="col-form-label col-lg-4" for="value"><?=__('Key value')?></label>
<div class="col-lg-8">
<?php $value = $row->value; ?>
<?php if (is_array($value)) : ?>
Expand All @@ -48,7 +48,7 @@
</div>
<div class="form-group row">
<div class="col-lg-12">
<label class="control-label" for="description"><?=__('Description')?></label>
<label class="form-control-label" for="description"><?=__('Description')?></label>
<textarea class="form-control" id="description" name="description"><?=esc($row->description)?></textarea>
</div>
</div>
Expand Down

0 comments on commit d8f0fbd

Please sign in to comment.