Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 669b53e

Browse files
committed
fix(docs): fix jsfiddle integration
this got accidentally messed up during the forms refactoring and mass renaming
1 parent b0c3f28 commit 669b53e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/templates/doc_widgets.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,16 @@
8181
fiddleSrc = fiddleSrc.replace(new RegExp('^\\s{' + stripIndent + '}', 'gm'), '');
8282

8383
return '<form class="jsfiddle" method="post" action="' + fiddleUrl + '" target="_blank">' +
84-
'<textarea ng:model="css">' +
84+
'<textarea name="css">' +
8585
'.ng-invalid { border: 1px solid red; } \n' +
8686
'body { font-family: Arial,Helvetica,sans-serif; }\n' +
8787
'body, td, th { font-size: 14px; margin: 0; }\n' +
8888
'table { border-collapse: separate; border-spacing: 2px; display: table; margin-bottom: 0; margin-top: 0; -moz-box-sizing: border-box; text-indent: 0; }\n' +
8989
'a:link, a:visited, a:hover { color: #5D6DB6; text-decoration: none; }\n' +
9090
'.error { color: red; }\n' +
9191
'</textarea>' +
92-
'<input type="text" ng:model="title" value="AngularJS Live Example">' +
93-
'<textarea ng:model="html">' +
92+
'<input type="text" name="title" value="AngularJS Live Example">' +
93+
'<textarea name="html">' +
9494
'<script src="' + angularJsUrl + '" ng:autobind></script>\n\n' +
9595
'<!-- AngularJS Example Code: -->\n\n' +
9696
fiddleSrc +

0 commit comments

Comments
 (0)