diff --git a/app/assets/javascripts/tags.js.coffee b/app/assets/javascripts/tags.js similarity index 100% rename from app/assets/javascripts/tags.js.coffee rename to app/assets/javascripts/tags.js diff --git a/app/views/shared/_post_form.html.haml b/app/views/shared/_post_form.html.haml index bee5146..649ed3e 100644 --- a/app/views/shared/_post_form.html.haml +++ b/app/views/shared/_post_form.html.haml @@ -31,7 +31,7 @@ = f.input :description = f.association :category - = f.input :tag_list, as: :string, placeholder: 'search tag', input_html: { class: "form-control", "ng-controller" => "TypeaheadCtrl", "ng-model" => "asyncSelected", "typeahead" => "tag for tag in getTags($viewValue) | filter:$viewValue | limitTo:8" , "typeahead-loading" => "loadingTags"} + = f.input :tag_list, as: :string, :placeholder => t('application.tips.entertag'), input_html: { class: "form-control", "ng-controller" => "TypeaheadCtrl", "ng-model" => "asyncSelected", "typeahead" => "tag for tag in getTags($viewValue) | filter:$viewValue | limitTo:8" , "typeahead-loading" => "loadingTags"} %i{"ng-show" => "loadingTags", :class => "glyphicon glyphicon-refresh"} - if current_user.manages? current_organization diff --git a/config/locales/es.yml b/config/locales/es.yml index 2e47df2..77d1bc1 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -96,7 +96,9 @@ es: categories: Servicios organizations: Organizaciones statistics: Estadísticas - + tips: + entertag: Entre etiquetas separadas por comas + # views/users/index... users: