Allow users to set whether or not textareas are monospaced.

Summary:
Some users like monospaced textareas and others don't.
This introduces an option to set this as a user preference.

Test Plan: Enabled and saw monospaced textareas, disabled and saw non-monospaced textareas.

Reviewers: epriestley

CC: aran, Korvin

Maniphest Tasks: T2114

Differential Revision: https://secure.phabricator.com/D4037
This commit is contained in:
Ricky Elrod
2012-11-27 14:06:31 -08:00
committed by epriestley
parent 71c170661b
commit 416d26b621
14 changed files with 80 additions and 24 deletions

View File

@@ -575,7 +575,8 @@ final class DiffusionCommitController extends DiffusionController {
->setLabel('Comments')
->setName('content')
->setValue($draft)
->setID('audit-content'))
->setID('audit-content')
->setUser($user))
->appendChild(
id(new AphrontFormSubmitControl())
->setValue($is_serious ? 'Submit' : 'Cook the Books'));