Permalink
Browse files

Add "required" asterisk to locale field

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...
1 parent 9db4891 commit 6d5149d6c52857820be259a8fc533d6c76cd461e @sifRAWR sifRAWR committed Jul 31, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 upload/admin/view/template/localisation/language_form.tpl
@@ -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" />
@@ -95,4 +95,4 @@
</div>
</div>
</div>
-<?php echo $footer; ?>
+<?php echo $footer; ?>

0 comments on commit 6d5149d

Please sign in to comment.