- {kind: "onyx.InputDecorator", components: [
- {name: "postContent", classes: "content", kind: "onyx.TextArea", onkeydown: "resizePostContent", attributes: {tabindex: 4}}
+ {name: "toolbar", classes: "toolbar", components: [
+ {classes: "buttons", fit: true, components: [
+ {name: "loginReminder", tag: "span", classes: "blerg-error", style: "margin-right: 8px", content: "You must log in before posting."},
+ {kind: "onyx.Button", content: "Close", onclick: "closePost", classes: "onyx-negative", attributes: {tabindex: 6}},
+ {name: "postButton", kind: "onyx.Button", content: "Post", onclick: "doPost", classes: "onyx-affirmative", disabled: true, attributes: {tabindex: 5}}
+ ]},
+ {classes: "switcher", components: [
+ {kind: "onyx.RadioGroup", onActivate: "switchBottomPanel", components: [
+ {name: "replyButton", content: "Replying to", showing: false},
+ {name: "previewButton", content: "Preview"},
+ {content: "Help"}
+ ]}
+ ]}