diff --git a/app/javascript/article-form/components/PageTitle.jsx b/app/javascript/article-form/components/PageTitle.jsx index 3cb35fe62..0a307603b 100644 --- a/app/javascript/article-form/components/PageTitle.jsx +++ b/app/javascript/article-form/components/PageTitle.jsx @@ -6,7 +6,7 @@ export const PageTitle = ({ organizations, organizationId, onToggle }) => { return (
- Write a new post + Create Post {organizations && organizations.length > 0 && (
diff --git a/app/javascript/article-form/components/Title.jsx b/app/javascript/article-form/components/Title.jsx index 2cece3cc1..36583f3e1 100644 --- a/app/javascript/article-form/components/Title.jsx +++ b/app/javascript/article-form/components/Title.jsx @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; // We use this hook for the title field to automatically grow the height of the textarea. // It helps keep the entire layout the way it is without having unnecessary scrolling and white spaces. // Keep in mind this is what happens only here - in the Preact component. -// I'm mentioning this because the entire "Write a post" view is a preact component +// I'm mentioning this because the entire "Create Post" view is a preact component // BUT it is also a classic .html.erb view which is being loaded BEFORE this component // to give a feeling of blazing fast page load. And we do NOT use this magic autoresizing // functionality on .html.erb view because there's no point of it. diff --git a/app/views/articles/_v2_form.html.erb b/app/views/articles/_v2_form.html.erb index 5f17fb31c..2937f149a 100644 --- a/app/views/articles/_v2_form.html.erb +++ b/app/views/articles/_v2_form.html.erb @@ -49,7 +49,7 @@
- + <% if organizations && organizations.size > 0 %>