aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/Post.js
blob: 3256bbf674e3a7f7b7321b51e27a4f41dfc45ffc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import React from 'react';

export default class Post extends React.Component {
  render() {
    return (
    <article>
      <form action="/" method="post" id="postmsg" encType="multipart/form-data">
        <p style={{ textAlign: 'left' }}>
          <b>Фото:</b> <span id="attachmentfile">
          <input style={{ width: '100%' }} type="file" name="attach"/> <i>(JPG/PNG)</i></span>
        </p>
        <p>
          <textarea name="body" className="newmessage" rows="7" cols="10" placeholder="*weather It's very cold today!"></textarea>
          <br/>
          <input type="submit" className="subm" value="   POST   "/>
        </p>
      </form>
    </article>
    );
  }
}