Skip to content

Commit

Permalink
PR #310 again (shouldnt conflict anymore)
Browse files Browse the repository at this point in the history
Added: Extend field key is suggested from label
  • Loading branch information
kstenschke committed Aug 20, 2015
1 parent b235184 commit ef340ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/admin/views/extend/field.php
Expand Up @@ -111,7 +111,7 @@
<?php $lang = $language['lang']; ?>
<div class="tabcontent <?php echo $lang; ?>">
<!-- Label -->
<input id="label_<?php echo $lang; ?><?php echo $id_extend_field; ?>" name="label_<?php echo $lang; ?>" class="inputtext title w96p" type="text" value="<?php echo $languages[$lang]['label']; ?>"/>
<input id="label_<?php echo $lang; ?><?php echo $id_extend_field; ?>" onblur="if ($('nameExtend<?php echo $id_extend_field; ?>').value=='') { $('nameExtend<?php echo $id_extend_field; ?>').value=this.value.replace(' ', '-').toLowerCase(); }" name="label_<?php echo $lang; ?>" class="inputtext title w96p" type="text" value="<?php echo $languages[$lang]['label']; ?>"/>
</div>
<?php endforeach ;?>
</div>
Expand Down Expand Up @@ -392,4 +392,4 @@ function()

updateArticleTypes();

</script>
</script>

0 comments on commit ef340ae

Please sign in to comment.