Skip to content

Commit

Permalink
Make Category field required too
Browse files Browse the repository at this point in the history
To be consistent with the Version field, as suggested by @atrol.

Issue #27994
  • Loading branch information
dregad committed Mar 6, 2021
1 parent d1b99b5 commit 8da89e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage_proj_edit_page.php
Expand Up @@ -458,7 +458,7 @@
<fieldset>
<?php echo form_security_field( 'manage_proj_cat_add' ) ?>
<input type="hidden" name="project_id" value="<?php echo $f_project_id ?>" />
<input type="text" name="name" size="32" maxlength="128" class="input-sm" />
<input type="text" name="name" required size="32" maxlength="128" class="input-sm" />
<input type="submit" class="btn btn-sm btn-primary btn-white btn-round" value="<?php echo lang_get( 'add_category_button' ) ?>" />
<input type="submit" name="add_and_edit_category" class="btn btn-sm btn-primary btn-white btn-round" value="<?php echo lang_get( 'add_and_edit_category_button' ) ?>" />
</fieldset>
Expand Down

0 comments on commit 8da89e6

Please sign in to comment.