content: import React, { Component } from 'react';
  import { Field, reduxForm } from 'redux-form';
  
  class Form extends Component {
    render() {
      return (
        <form onSubmit={this.props.handleSubmit} className="pure-form pure-form-aligned">
          <div className="ui grid" id="journals_a">
            <div className="eight wide column">
              <fieldset>
                <div className="pure-control-group">
                  <label >公告标题 *</label>
                  <Field name="title" component="input" type="text"/>
                </div>
              </fieldset>
              <fieldset>
                <div className="pure-control-group">
                  <label >公告内容 *</label>
                  <Field name="content" component="textarea" cols="37" rows="15" type="text"/>
                </div>
              </fieldset>
            </div>
          </div>
          <div className="pure-controls">
            <button type="submit" className="pure-button pure-button-primary">提交</button>
          </div>
          <br/>
          <br/>
          <br/>
        </form>
      );
    }
  }
  
  
  export default reduxForm({ form: 'notice' })(Form);
  