2016-03-08 20:49:34 +01:00

18 lines
596 B
Plaintext
Executable File

.center.white.row
.row.gutter
%h1= i(:"comments") + " Nous contacter"
= semantic_form_for [:public, @contact_message ], :html => {id: :contact_message_form, :method => :post } do |f|
%h4 Écrire un nouveau message
= f.inputs do
= f.input :content, as: :text, label: false, rows: 5, :input_html => {:style => "height:100px;"}
=f.submit "Envoyer", :class => "btn btn-square btn-primary pull-right"
.clear
.padding
=render collection: @contact_messages, partial: 'contact_message'
.pagination= paginate @contact_messages