Skip to content

Commit

Permalink
Merge branch 'issue-2529' of git://github.com/dikisiswanto/OpenSID in…
Browse files Browse the repository at this point in the history
…to dikisiswanto-issue-2529
  • Loading branch information
eddieridwan committed Dec 5, 2019
2 parents 712ea96 + 5ef3790 commit 354ed8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion donjo-app/views/gallery/form.php
Expand Up @@ -37,7 +37,7 @@
<label class="control-label col-sm-4" for="upload">Unggah Gambar</label>
<div class="col-sm-6">
<div class="input-group input-group-sm">
<input type="text" class="form-control required" id="file_path">
<input type="text" class="form-control <?php !($gallery['gambar']) and print('required') ?>" id="file_path">
<input id="file" type="file" class="hidden" name="gambar">
<span class="input-group-btn">
<button type="button" class="btn btn-info btn-flat" id="file_browser"><i class="fa fa-search"></i> Browse</button>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/views/gallery/form_sub_gallery.php
Expand Up @@ -38,7 +38,7 @@
<label class="control-label col-sm-4" for="upload">Unggah Gambar</label>
<div class="col-sm-6">
<div class="input-group input-group-sm">
<input type="text" class="form-control required" id="file_path">
<input type="text" class="form-control <?php !($gallery['gambar']) and print('required') ?>" id="file_path">
<input id="file" type="file" class="hidden" name="gambar">
<span class="input-group-btn">
<button type="button" class="btn btn-info btn-flat" id="file_browser"><i class="fa fa-search"></i> Browse</button>
Expand Down

0 comments on commit 354ed8f

Please sign in to comment.