Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to put image upload on the /admin/items.html page #74

Open
evan-duncan opened this issue Sep 10, 2014 · 1 comment
Open

Need to put image upload on the /admin/items.html page #74

evan-duncan opened this issue Sep 10, 2014 · 1 comment

Comments

@evan-duncan
Copy link
Collaborator

This needs to be added to the /admin/items.html partial

<h3>Upload New Image</h3>
<input type="file" name="file" onchange="angular.element(this).scope().uploadFile(this.files)"/>
<div ng-bind="fileMessage">
</div>

It looks like the controller that uploads the images is shared by the /admin/items.html and /admin/item-details.html page, so this should be a pretty quick fix.

@evan-duncan evan-duncan changed the title Need to put image upload on the /admin.html#/item/new page Need to put image upload on the /admin/items.html page Sep 10, 2014
@satrent
Copy link
Owner

satrent commented Sep 14, 2014

@eduncan26 - do we really need this on the items.html page. The controller should be ok if there are properties or methods on the scope that are not bound in the template. ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants