Added style show community.

This commit is contained in:
Alessandro Cuoghi
2017-08-07 16:42:23 +02:00
committed by taitus
parent 08f58b845d
commit b4cdca215d
7 changed files with 126 additions and 24 deletions

View File

@@ -4,14 +4,13 @@
<div class="row">
<div class="small-12 column">
<%= f.label :title, t("topic.form.topic_title") %>
<%= f.text_field :title %>
<%= f.label :description_as_comment, t("topic.form.topic_description_as_comment") %>
<%= f.text_area :description_as_comment, maxlength: Comment.body_max_length %>
<%= f.label :title, t("community.topic.form.topic_title") %>
<%= f.text_field :title, label: false %>
</div>
<div class="actions small-12 column">
<%= f.submit(class: "button", value: t("topic.#{action_name}.form.submit_button")) %>
<%= f.submit(class: "button", value: t("community.topic.form.submit_button")) %>
<%#= f.submit(class: "button", value: t("community.topic.#{action_name}.form.submit_button")) %>
</div>
</div>
<% end %>