Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninitialized ActionView::CompiledTemplates::Mobility #173

Open
marcelino056 opened this issue Oct 14, 2021 · 0 comments
Open

uninitialized ActionView::CompiledTemplates::Mobility #173

marcelino056 opened this issue Oct 14, 2021 · 0 comments

Comments

@marcelino056
Copy link

marcelino056 commented Oct 14, 2021

Pull Request:#170
Error:
uninitialized constant ActionView::CompiledTemplates::Mobility
Gem and version:
gem 'refinerycms-news', github: 'refinery/refinerycms-news', branch: 'matho-update'

File
/home/***/.rbenv/versions/2.7.4/lib/ruby/gems/2.7.0/bundler/gems/refinerycms-news-d4c4d997c1a3/app/views/refinery/news/admin/items/_form.html.erb

<%= form_for [refinery, :news, :admin, @item] do |f| %>
  <%= render "/refinery/admin/error_messages",
             :object => @item,
             :include_object_name => true %>
  <%= render '/refinery/admin/locale_picker', :current_locale => Mobility.locale %>

  <div class='field'>
    <%= f.label :title %>
    <%= f.text_field :title, :class => "larger widest" %>
  </div>

  <div class='field'>
    <%= f.label :publish_date %>
    <%= f.datetime_select :publish_date %>
  </div>

  <div class='field'>
    <%= f.label :expiration_date %>
    <%= f.datetime_select :expiration_date, :start_year => Time.now.year,
                                            :include_blank => true %>
  </div>

  <div class='field'>
    <%= f.label :body %>
    <%= f.text_area :body, :rows => "20", :class => "visual_editor widest" %>
  </div>

  <div class='field'>
    <%= f.label :source %>
    <%= f.text_field :source, :class => "larger widest" %>
  </div>

  <%= render "/refinery/admin/form_actions",
             :f => f,
             :continue_editing => true,
             :delete_title => t('admin.news.items.item.delete'),
             :delete_confirmation => t('shared.admin.delete.message', :title => @item.title) %>

<% end %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant