Deleting procedures

In this branch I use the DS.FixtureAdapter because in the server i don't do anything.But you can try the solution in procedure's view.
In the view you can drag and drop into the visits, edit the procedures bu double click in the element, delete a procedure, insert a procedure and delete visits.
;)

All the spaghetti html, is messy to have it in the js code, plus there is a good chance we are going to reuse this piece in other parts of the application

Sent from my iPhone

> On Dec 26, 2014, at 10:56 AM, jotolo <notifications@github.com> wrote:
> 
> In src/shell/assets/js/controllers/proceduresController.js:
> 
> >                var procedure = this.store.getById('procedure',item);
> > -              if($('#listone #' + item).length <= 0){ 
> > -                $('#listone').append( '<div class="list-group-item" id="'+ item +'">' + procedure.get('name') + '</div>');
> > +              if($('#'+ elementName +' .col-md-5 .' + item).length <= 0){ 
> What do you want to move into a separate template???
> Could you do that???
> Please,try it :)
> 
> —
> Reply to this email directly or view it on GitHub.
>