Skip to content

Commit

Permalink
Hint text added to tags field in the post form
Browse files Browse the repository at this point in the history
  • Loading branch information
joahking committed Sep 24, 2013
1 parent b4ad070 commit 712716d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/admin/blog/posts/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<% end %>
<% end %>
<%= form.text_field :tag_names, :label => link_to(t('comfy_blog.tags'), admin_blog_tags_path) %>
<p class="help"><%= t 'comfy_blog.tag_names_hint' %></p>
<%= form.text_area :excerpt, :data => { :rich_text => true }, :class => 'short' %>
<%= form.text_area :content, :data => { :rich_text => true } %>
<%= form.text_field :published_at, :class => 'datetime' %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ en:
tag_update_failed: Failed to update Blog Tag
tag_removed: Blog Tag removed
tag_not_found: Blog Tag not found
tag_names_hint: 'Comma separated, e.g. bio, health'

comment: comment
comments: Comments
Expand Down
1 change: 1 addition & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ es:
update_tag: Actualizar etiqueta
edit_tag: "Editando etiqueta %{tag}"
confirm_tag_delete: 'Está seguro de que quiere eliminar esta etiqueta?'
tag_names_hint: 'Separadas por comas, e.g. bio, health'

category: 'Categoría'
categories: 'Categorías'
Expand Down

0 comments on commit 712716d

Please sign in to comment.