Skip to content

Commit

Permalink
Add "required" asterisk to locale field
Browse files Browse the repository at this point in the history
The Locale field throws a "Locale required" error if you don't fill it in, so I have added a required flag in the form.
  • Loading branch information
matt-lough committed Jul 31, 2015
1 parent 9db4891 commit 6d5149d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/view/template/localisation/language_form.tpl
Expand Up @@ -43,7 +43,7 @@
<?php } ?>
</div>
</div>
<div class="form-group">
<div class="form-group required">
<label class="col-sm-2 control-label required" for="input-locale"><span data-toggle="tooltip" title="<?php echo $help_locale; ?>"><?php echo $entry_locale; ?></span></label>
<div class="col-sm-10">
<input type="text" name="locale" value="<?php echo $locale; ?>" placeholder="<?php echo $entry_locale; ?>" id="input-locale" class="form-control" />
Expand Down Expand Up @@ -95,4 +95,4 @@
</div>
</div>
</div>
<?php echo $footer; ?>
<?php echo $footer; ?>

0 comments on commit 6d5149d

Please sign in to comment.