From 561ab2d01e059da44c0e5b34f5527fe946a1448c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 8 Aug 2014 07:11:56 -0700 Subject: Use connect-assets for js and css --- views/users/edit.html | 9 +------ views/users/new.html | 69 ++++++++++++++++++++++----------------------------- views/users/show.html | 10 +------- 3 files changed, 31 insertions(+), 57 deletions(-) (limited to 'views/users') diff --git a/views/users/edit.html b/views/users/edit.html index fceaee7a..72399187 100644 --- a/views/users/edit.html +++ b/views/users/edit.html @@ -1,12 +1,5 @@ {{#yield-scripts}} - - - - - - - - + {{#js}}js/setup{{/js}} {{/yield-scripts}}
diff --git a/views/users/new.html b/views/users/new.html index e9874217..9d2a7aa3 100644 --- a/views/users/new.html +++ b/views/users/new.html @@ -1,41 +1,30 @@ - - - - - - Bitcoin Payment Calculator - - {{#css}}calculator{{/css}} - {{#js}}register{{/js}} - - -
- -

Register

- {{#error}} -
{{error}}
- {{/error}} -
- - -
- -
- - -
+{{#yield-scripts}} + {{#js}}js/register{{/js}} +{{/yield-scripts}} -
- - -
- -
- - -
- - -
- - +
+

Register

+ {{#error}} +
{{error}}
+ {{/error}} +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
diff --git a/views/users/show.html b/views/users/show.html index 95924789..b197ad92 100644 --- a/views/users/show.html +++ b/views/users/show.html @@ -1,13 +1,5 @@ {{#yield-scripts}} - - - - - - - - - + {{#js}}js/calculator{{/js}} {{/yield-scripts}}