demo procedure page
This commit is contained in:
parent
9f34d20475
commit
9826a294d4
3 changed files with 24 additions and 0 deletions
7
app/controllers/demo_controller.rb
Normal file
7
app/controllers/demo_controller.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
class DemoController < ApplicationController
|
||||
|
||||
def index
|
||||
|
||||
end
|
||||
|
||||
end
|
15
app/views/demo/index.html.haml
Normal file
15
app/views/demo/index.html.haml
Normal file
|
@ -0,0 +1,15 @@
|
|||
%table.table
|
||||
%tr
|
||||
%th{colspan: 3}
|
||||
%h4 Lien vers les procédures TPS
|
||||
%tr
|
||||
%td
|
||||
%th Titre
|
||||
%th Description
|
||||
- Procedure.all.each do |procedure|
|
||||
%tr
|
||||
%td.col-md-1.col-lg-1
|
||||
%td.col-md-4.col-lg-4
|
||||
= link_to procedure.libelle, "/users/siret?procedure_id=#{procedure.id}"
|
||||
%td
|
||||
= procedure.description
|
Loading…
Add table
Add a link
Reference in a new issue