content: import React from 'react';
  import app from '../../app/app';
  import tl from  '../translator';
  
  export default class InputLabel extends React.Component {
  
      constructor(props) {
          super(props);
      }
  
      render() {
  
          let requiredAdd = this.props.fieldDef.required ? <span className="required">*</span> : '';
  
          return <label htmlFor={this.props.formIdent} className="control-label">{this.props.fieldDef.label + (app.helpers.isI18nInput(this.props.fieldDef) ? ' [' + tl.t('forms.language.' + this.props.currentLocale) + ']' : '')} {requiredAdd}</label>
      }
  };