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 30, 2023
1 parent 119c428 commit b727375
Show file tree
Hide file tree
Showing 2 changed files with 2 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>
3 changes: 1 addition & 2 deletions decidim-blogs/config/locales/en.yml
Expand Up @@ -3,6 +3,7 @@ en:
activemodel:
attributes:
post:
body: Body
decidim_author_id: Author
published_at: Publish time
title: Title
Expand All @@ -24,8 +25,6 @@ en:
title: Actions
admin:
models:
components:
body: Body
post:
name: Post
posts:
Expand Down

0 comments on commit b727375

Please sign in to comment.