powmedia / backbone-forms

Form framework for BackboneJS with nested forms, editable lists and validation
MIT License
2.17k stars 413 forks source link

Slick way to get rid of " : " #383

Closed szymdzum closed 10 years ago

szymdzum commented 10 years ago

In few cases I need to get rid of " : " from the end of the particular labels ? I thought I can sort it out by

  $(".slice").text(function(i, text) {
     return text.slice(0, -1);
   }); 

But it removes the last character from teh string and than adds the " : "

szymdzum commented 10 years ago

Wrong question the " : " was added from Bootstrap not Backbone forms.