Skip to content

Commit

Permalink
Revert a few renaming to camelCase functions used in ERB - doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
texpert committed Mar 22, 2023
1 parent c7d2429 commit 5ca0006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
type="text"
name="<%= field_name %>[<%= field.slug %>][values][]"
class="data-error-place-parent form-control input-value <%= "required" if field.options[:required].to_s.to_bool %>" />
<span class="input-group-addon btn_upload" onclick="LoadUploadImageField($(this).prev());" style="cursor: pointer;">
<span class="input-group-addon btn_upload" onclick="load_upload_image_field($(this).prev());" style="cursor: pointer;">
<i class="fa fa-upload"></i>
<%= t('camaleon_cms.admin.button.upload_image')%> <%= "(#{field.get_option('dimension')})" if field.get_option('dimension').present? %>
</span>
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/camaleon_cms/admin/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="col-md-6"><strong>Copyright &copy; 2015 - <%= Time.now.year %> <a href="http://camaleon.tuzitio.com">Camaleon CMS.</a> </strong></div>
<div class="col-md-6 hidden-xs">
<div class="pull-left">
<a id="link_see_intro" href="#" onclick="InitIntro(); return false;"><i class="fa fa-tv"></i> <%= I18n.t('camaleon_cms.see_intro') %>.</a>
<a id="link_see_intro" href="#" onclick="init_intro(); return false;"><i class="fa fa-tv"></i> <%= I18n.t('camaleon_cms.see_intro') %>.</a>
</div>
<div class="pull-right">
<b>Version </b><%= CamaleonCms::VERSION %>
Expand Down

0 comments on commit 5ca0006

Please sign in to comment.