Skip to content

Commit

Permalink
Move Post's body attribute key
Browse files Browse the repository at this point in the history
  • Loading branch information
andreslucena authored and alecslupu committed Jan 26, 2023
1 parent 730e5e6 commit d81a13a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Expand Up @@ -12,7 +12,7 @@
<%= form.translated :text_field, :title, autofocus: true %>
</div>
<div class="row column">
<%= form.translated :editor, :body, toolbar: :full, lines: 30, label: t("models.components.body", scope: "decidim.blogs.admin") %>
<%= form.translated :editor, :body, toolbar: :full, lines: 30 %>
</div>
</div>
</div>
8 changes: 6 additions & 2 deletions decidim-blogs/config/locales/en.yml
@@ -1,6 +1,12 @@
---
en:
activemodel:
attributes:
post:
body: Body
decidim_author_id: Author
published_at: Publish time
title: Title
models:
decidim/blogs/create_post_event: New blog post
activerecord:
Expand All @@ -19,8 +25,6 @@ en:
title: Actions
admin:
models:
components:
body: Body
post:
name: Post
posts:
Expand Down

0 comments on commit d81a13a

Please sign in to comment.