Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Form title and description
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Sep 23, 2020
1 parent 15919b4 commit 6dffca4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/manage/Blocks/Block/BlocksForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const BlocksForm = (props) => {
selectedBlock,
onSelectBlock,
allowedBlocks,
title,
description,
manage,
} = props;

Expand Down Expand Up @@ -106,7 +108,7 @@ const BlocksForm = (props) => {
const BlockWrapper = blockWrapper ? blockWrapper : EditBlockWrapper;

return (
<div className="ui container blocks-form">
<div className="ui container blocks-form" title={title}>
<DragDropList
childList={blockList}
onMoveItem={(result) => {
Expand Down Expand Up @@ -155,6 +157,8 @@ const BlocksForm = (props) => {
type={block['@type']}
manage={manage}
allowedBlocks={allowedBlocks}
formTitle={title}
formDescription={description}
/>
</BlockWrapper>
)
Expand Down

0 comments on commit 6dffca4

Please sign in to comment.