Changeset [f0f9790ae76095a49226083b211bd7c140989184] by Brian Michalski

December 8th, 2011 @ 02:18 AM

Refactoring the conditional partial rendering.

Moved the repeated code out of the content form to render_partial_if in the application controller. Looks pretty DRY now.
https://github.com/concerto/concerto/commit/f0f9790ae76095a49226083...

Committed by Brian Michalski

  • M app/helpers/application_helper.rb
  • M app/views/contents/_form.html.erb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.