app/views/contents/_fields_new.html.erb in common-content-0.0.4 vs app/views/contents/_fields_new.html.erb in common-content-0.0.5

- old
+ new

@@ -1,14 +1,12 @@ -<fieldset> - <div class="control-group"> - <%= f.label :slug, :class => 'control-label' %> - <div class="controls"> - <%= f.text_field :slug, :class => 'text_field', disabled: !@content.new? %> - </div> - </div> - <div class="control-group"> - <%= f.label 'title', :class => 'control-label' %> - <div class="controls"> - <%= f.text_field :title, :class => 'text_field' %> - </div> - </div> -</fieldset> \ No newline at end of file + <div class="control-group"> + <%= f.label :slug, :class => 'control-label' %> + <div class="controls"> + <%= f.text_field :slug, :class => 'text_field', disabled: !f.object.new? %> + </div> + </div> + <div class="control-group"> + <%= f.label 'title', :class => 'control-label' %> + <div class="controls"> + <%= f.text_field :title, :class => 'text_field' %> + </div> + </div>