Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use custom form builder.

  • Loading branch information...
commit b77be88e260b26a50c4391d2da2744880e4e160d 1 parent 0d7d456
@macournoyer macournoyer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/rooms/_form.html.erb
View
2  app/views/rooms/_form.html.erb
@@ -1,4 +1,4 @@
-<%= form_for(@room) do |f| %>
+<%= labelled_form_for(@room) do |f| %>
<% if @room.errors.any? %>
<div id="error_explanation">
<h2><%= pluralize(@room.errors.count, "error") %> prohibited this room from being saved:</h2>
Please sign in to comment.
Something went wrong with that request. Please try again.