by
486 16
0
3
1,962
0
Top 1% !
Famous
MultiPlatform
Popularity: 10936th place
No tags for this snippet yet.
No Properties... yet!

VIEWS: _genera_listado.html.haml

Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/611004/VIEWS--_genera_listado-html-haml?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
= grid @nombre_de_tabla_en_singulars do |g| - g.column name: t('nombre_de_tabla_en_singulars.campo_ordenado'), auto_reload: true, attribute: 'campo_ordenado' do |tt| - tt.campo_ordenado.titleize - g.column name: t('nombre_de_tabla_en_singulars.campo_segundo'), auto_reload: true, attribute: 'campo_segundo' do |tt| - tt.campo_segundo.titleize - columna_de_acciones g
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus