Comments (2)
Tonkonozhenko,
I think it's best if you open this question in the slim repository (https://github.com/slim-template/slim). slim-rails is responsible for the rails scaffold generator.
Anyways, I'm not sure why you're getting all the template rendered but the equal sign is used when you want to output something. For conditional code like if or unless you should use the dash sign
from slim-rails.
I know about dash, but suddenly I found this bug so I reported
from slim-rails.
Related Issues (20)
- Please release 3.1.3 gem HOT 2
- Facing problems to put some CSS styles inside the head tag on the application.html.slim HOT 1
- Please release a version of slim-rails compatible with Slim 4 HOT 1
- Update templates to use 'form_with' HOT 1
- Issue with finding template in rails 6 engine HOT 8
- Rails crashed with a slim markup that had duplicate data- item
- Custom templates / override a generator method
- JavaScript Include Tag for Subresource Integrity
- Dynamic data tag attributes HOT 1
- CI: Use a new runner HOT 2
- changelog for 3.3.0 is missing HOT 2
- Action Text: Rich Text Content displayed as raw html HOT 1
- Generators should not generate .txt.slim templates HOT 1
- Update templates to Rails 7
- Syntax error, unexpected keyword_rescue, expecting keyword_end HOT 8
- Breaks rails generate. Rails 7 compat? HOT 7
- v3.6.0 allows Slim 5.0.0, which has a major issue with Rails (fixed on slim main but unreleased) HOT 7
- ActionView::SyntaxErrorInTemplate when scaffolding with namespace HOT 2
- Rails 7.1 breaks slim partial block rendering when the partial is empty HOT 2
- rails extracted source noise
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slim-rails.