fix(docs): fix jsfiddle integration

this got accidentally messed up during the forms refactoring and mass renaming
This commit is contained in:
Igor Minar 2011-10-14 08:31:00 -07:00
parent b0c3f28e8f
commit 669b53ede2

View file

@ -81,7 +81,7 @@
fiddleSrc = fiddleSrc.replace(new RegExp('^\\s{' + stripIndent + '}', 'gm'), '');
return '<form class="jsfiddle" method="post" action="' + fiddleUrl + '" target="_blank">' +
'<textarea ng:model="css">' +
'<textarea name="css">' +
'.ng-invalid { border: 1px solid red; } \n' +
'body { font-family: Arial,Helvetica,sans-serif; }\n' +
'body, td, th { font-size: 14px; margin: 0; }\n' +
@ -89,8 +89,8 @@
'a:link, a:visited, a:hover { color: #5D6DB6; text-decoration: none; }\n' +
'.error { color: red; }\n' +
'</textarea>' +
'<input type="text" ng:model="title" value="AngularJS Live Example">' +
'<textarea ng:model="html">' +
'<input type="text" name="title" value="AngularJS Live Example">' +
'<textarea name="html">' +
'<script src="' + angularJsUrl + '" ng:autobind></script>\n\n' +
'<!-- AngularJS Example Code: -->\n\n' +
fiddleSrc +