Permalink
Browse files

primary button class

  • Loading branch information...
1 parent 9bdac38 commit 85a3faaa5157b7f0bb1466859c9282d7e693eeff @cihad committed Mar 19, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 form-validation/index.html
@@ -74,7 +74,7 @@
</div>
<div class="form-actions">
- <input type="submit" class="btn" ng-disabled="userForm.$invalid" />
+ <input type="submit" class="btn" ng-class="{ 'btn-primary': userForm.$valid }" ng-disabled="userForm.$invalid" />
</div>
</fieldset>
</div>
@@ -109,14 +109,12 @@
</tr>
</tbody>
</table>
-
</div>
</div>
</div>
</div>
-
</body>
</html>

0 comments on commit 85a3faa

Please sign in to comment.