Commit 7b337157

mo k <mo@mokhan.ca>
2012-07-17 13:06:03
add is restricted checkbox to the new/edit page for creations.
1 parent 1eeecce
Changed files (1)
app
views
app/views/creations/_form.html.erb
@@ -36,6 +36,14 @@
         </p>
       </div>
     </div>
+    <div class="control-group">
+      <div class="controls">
+        <label class="checkbox">
+          <%= f.check_box :is_restricted, :class =>"input-xlarge" %>
+          This creation probably should not be shown to kids.
+        </label>
+      </div>
+    </div>
     <div class="form-actions">
       <button type="submit" class="btn btn-primary">Save changes</button>
       <a href="<%= url_for @creation %>" class="btn">Cancel</a>