Good afternoon Community, I come with this problem from Ruby & Rails I'm a bit of a rookie in the language and this mistake has me dismayed,
The error comes to me in the path app/views/bienvenida/index.html.haml:20
assuming that the number is the line of code, this is what I have in index:
#hello.top-header
#top.callbacks_container
%ul#slider4.rslides
%li
= image_tag("slide.jpg", :alt => "")
.caption.text-center
**.slide-text-info**
%h1 ! Bienvenidos ¡
.slide-text-info-btns
%li
%a{:href => ""}
= image_tag("slide.jpg", :alt => "")
.caption.text-center
.slide-text-info
%h1 Conoce lo más destacado
.slide-text-info-btns
%li
= image_tag("slide.jpg", :alt => "")
.caption.text-center
.slide-text-info
%h1 ¿Aun no estas dentro?
%a{:href => ""}
%h2 ! Unete ¡
.slide-text-info-btns
.clear
What is in bold is line 20 of my code.
To add more information about the project this is what I have in Application.hmtl.haml:
!!!5
%html
%head
%title HOW TO!
= csrf_meta_tags
%meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}
%meta{:content => "text/html; charset=iso-8859-1", "http-equiv" => "Content-Type"}
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= javascript_include_tag "jquery.cslider"
= javascript_include_tag "jquery.flexisel"
= javascript_include_tag "jquery.min"
= javascript_include_tag "modernizr.custom.28468"
= javascript_include_tag "owl.carousel"
= javascript_include_tag "responsive-nav"
= javascript_include_tag "responsiveslides.min"
:javascript
addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1);
}
:javascript
$(function() {
var pull = $('#pull');
menu = $('nav ul');
menuHeight = menu.height();
$(pull).on('click', function(e) {
e.preventDefault();
menu.slideToggle();
});
$(window).resize(function(){
var w = $(window).width();
if(w > 320 && menu.is(':hidden')) {
menu.removeAttr('style');
}
});
});
:javascript
(function ($) {
$("#slider4").responsiveSlides({
auto: true,
pager: true,
nav: true,
speed: 500,
namespace: "callbacks",
before: function () {
$('.events').append("before event fired.");
},
after: function () {
$('.events').append("after event fired.");
}
}(jQuery));
});
:javascript
$(function() {
$('#da-slider').cslider({
autoplay : true,
bgincrement : 450
});
});
:javascript
$(function() {
$('#da-slider1').cslider({
autoplay : true,
bgincrement : 450
});
});
%body
= yield