app/views/admin/posts/_form.html.erb in tb_blog-1.3.1 vs app/views/admin/posts/_form.html.erb in tb_blog-1.3.2

- old
+ new

@@ -1,11 +1,11 @@ <%= tb_form_errors(@post)%> <div class="form-group"> <div class="col-sm-12"> <%= f.label :title, :required => true,:class=> "control-label" %> - <%= f.text_field :title, :class=>'form-control', :placeholder => "Enter title here" %> + <%= f.text_field :title, :class=>'form-control spud-post-title', :placeholder => "Enter title here" %> </div> </div> <div class="form-group"> <div class="col-sm-12"> @@ -72,19 +72,29 @@ <%= render :partial => '/admin/posts/custom_fields', :locals => {:f => f} %> <h4>Meta Data</h4> <div class="form-group"> + <%= f.label :url_name, :required => true, :class=> "col-sm-2 control-label" %> + <div class="col-sm-10"> + <%= f.text_field :url_name, :class=>'form-control spud-post-url-name', :placeholder => 'Optional' %> + <a href="#" class="btn btn-default spud-post-url-name-regen" title="Regenerate URL Slug"> + <span class="glyphicon glyphicon-refresh"></span> + </a> + </div> +</div> + +<div class="form-group"> <%= f.label :meta_keywords, :required => true, :class=> "col-sm-2 control-label" %> <div class="col-sm-10"> - <%= f.text_field :meta_keywords, :class=>'form-control' %> + <%= f.text_field :meta_keywords, :class=>'form-control', :placeholder => 'Optional' %> </div> </div> <div class="form-group"> <%= f.label :meta_description, :required => true, :class=> "col-sm-2 control-label" %> <div class="col-sm-10"> - <%= f.text_field :meta_description, :class=>'form-control' %> + <%= f.text_field :meta_description, :class=>'form-control', :placeholder => 'Optional' %> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> \ No newline at end of file