Remove description when creating valuator from index
This commit is contained in:
@@ -36,11 +36,9 @@
|
||||
class: "button hollow alert expanded" %>
|
||||
<% else %>
|
||||
<%= form_for Valuator.new(user: user), url: admin_valuators_path do |f| %>
|
||||
<%= f.text_field :description,
|
||||
label: false,
|
||||
placeholder: t("admin.valuators.valuator.description_placeholder") %>
|
||||
<%= f.hidden_field :user_id %>
|
||||
<%= f.submit t("admin.valuators.valuator.add"), class: "button success expanded" %>
|
||||
<%= f.submit t("admin.valuators.valuator.add"),
|
||||
class: "button success expanded" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user