Add missing spec. Improve readability on topics files

This commit is contained in:
taitus
2017-08-29 13:20:06 +02:00
parent ec309de273
commit 8f7356f7a4
8 changed files with 25 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
<%= render 'shared/errors', resource: @topic %>
<div class="row">
<div class="small-12 column">
<%= f.label :title, t("community.topic.form.topic_title") %>
<%= f.text_field :title, label: false %>
@@ -13,6 +14,7 @@
<div class="actions small-12 column">
<%= f.submit(class: "button", value: t("community.topic.form.#{action_name}.submit_button")) %>
</div>
</div>
<% end %>