[Git][noosfero/noosfero][master] cms/edit: format tag list properly for inputosaurus
Bráulio Bhavamitra
gitlab at mg.gitlab.com
Sat Jul 30 08:08:12 BRT 2016
Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero
Commits:
4a9f3410 by Braulio Bhavamitra at 2016-07-30T08:07:50-03:00
cms/edit: format tag list properly for inputosaurus
- - - - -
1 changed file:
- app/views/cms/edit.html.erb
Changes:
=====================================
app/views/cms/edit.html.erb
=====================================
--- a/app/views/cms/edit.html.erb
+++ b/app/views/cms/edit.html.erb
@@ -34,7 +34,7 @@
<br />
- <%= f.text_field('tag_list', :size => 64) %>
+ <%= f.text_field 'tag_list', size: 64, value: @article.tag_list.join(',') %>
<%= content_tag( 'small', _('Separate tags with commas') ) %>
<script>
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/4a9f341096bb172c58141dd04f94a47f3404efbf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20160730/b2d3aac1/attachment-0001.html>
More information about the Noosfero-dev
mailing list