contact page new

This commit is contained in:
2014-07-23 22:57:14 +05:30
committed by Andreas Stephanides
parent 360f6880fe
commit 5bf20e1a98
11 changed files with 87 additions and 47 deletions

View File

@@ -9,4 +9,12 @@
<%= semantic_form_for :set_page, url: fb_set_default_publish_page_user_path(current_user), html:{method: :get} do |f| %>
<%= f.input :page , :input_html => { :name => 'page' }%>
<% end %>
<%= semantic_form_for :set_thema, url: choose_contact_topics_home_index_path, html:{method: :get} do |f| %>
<%= f.input :themen, :input_html=> {:name=>'themen'}, :as=>:select ,:multiple=>true,:collection =>Thema.all%>
<%= f.actions do %>
<%= f.action :submit, :as => :button, :label=> I18n.t("common.save" ) %>
<% end %>
<% end %>
</p>

View File

@@ -1,12 +1,10 @@
<div class="content-column content-wrap">
<h1> <%= I18n.t "kontakt.H1" %></h1>
<p>
<%= I18n.t "kontakt.text" %>
</p>
<h2><%= I18n.t "kontakt.service" %></h2>
<%= raw(I18n.t( "kontakt.service_text")) %>
<h2><%= I18n.t "kontakt.adresse" %></h2>
<p><%= raw(I18n.t("kontakt.adresse_text")) %></p>
<p><%= raw(I18n.t ("kontakt.telefon_text")) %></p>
<% @themen.each do |th| %>
<%= render partial: "themen/small", object: th %>
<% end %>
</div>