Updated views to support different languages.

This commit is contained in:
Nilesh Deepak 2017-07-05 16:12:29 +05:30
parent cc553cc93d
commit 5b736c3b36
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="image">Choose image</label> <label for="image">{{ trans('common.cover_image') }}</label>
<input type="file" name="image"> <input type="file" name="image">
</div> </div>
<div class="form-group"> <div class="form-group">

View File

@ -50,10 +50,10 @@
</select> </select>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="books_display">Type of view</label> <label for="books_display">{{ trans('settings.users_books_display_type') }}</label>
<select name="books_display" id="books_display"> <select name="books_display" id="books_display">
<option @if($user->books_display === 'grid') selected @endif value = "grid">Grid</option> <option @if($user->books_display === 'grid') selected @endif value="grid">Grid</option>
<option @if($user->books_display === 'list') selected @endif value = "list">List</option> <option @if($user->books_display === 'list') selected @endif value="list">List</option>
</select> </select>
</div> </div>
</div> </div>