fix a bug when filling in the content type name
This commit is contained in:
parent
812965ad50
commit
690b2f2b2e
@ -7,8 +7,8 @@
|
||||
= render 'admin/shared/actions/contents'
|
||||
|
||||
- content_for :buttons do
|
||||
= admin_button_tag :show_items, admin_contents_url(@content_type.slug), :class => 'show'
|
||||
= admin_button_tag :new_item, new_admin_content_url(@content_type.slug), :class => 'new'
|
||||
= admin_button_tag :show_items, admin_contents_url(@content_type.slug_was), :class => 'show'
|
||||
= admin_button_tag :new_item, new_admin_content_url(@content_type.slug_was), :class => 'new'
|
||||
|
||||
%p!= t('.help')
|
||||
|
||||
@ -16,6 +16,6 @@
|
||||
|
||||
= render 'form', :f => f
|
||||
|
||||
= render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :update
|
||||
= render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug_was), :button_label => :update
|
||||
|
||||
= render 'admin/custom_fields/edit_field'
|
19
doc/TODO
19
doc/TODO
@ -53,22 +53,21 @@ x check hosting:
|
||||
x deploy => okay
|
||||
x unable to set a new subdomain
|
||||
x liquid tag: Date.today (now), add a test to compare 2 dates
|
||||
x better ui: increase text field length (auto sizable ?) + refactor error message
|
||||
? better ui: increase text field length (auto sizable ?) + refactor error message
|
||||
- trigger refresh at startup
|
||||
x bugs
|
||||
x heroku: unable to upload a new file => okay
|
||||
x import => okay
|
||||
x delete an item => okay
|
||||
- bug: duplicate fields (new entry) when errors in the content type form
|
||||
- overide sort for contents
|
||||
- rake task to import a remote template
|
||||
- tinyMCE => fullscreen
|
||||
- icon for redirection page in the pages section (back-office)
|
||||
- rake task to import a remote template
|
||||
- bug: duplicate fields (new entry) when errors in the content type form
|
||||
- test and/or convert existing templates (the 2 of the themes section)
|
||||
|
||||
|
||||
=> MERGE
|
||||
|
||||
- bugs
|
||||
- heroku: unable to upload a new file => okay
|
||||
- import => okay
|
||||
- delete an item => okay
|
||||
- overide sort for contents
|
||||
|
||||
BACKLOG:
|
||||
|
||||
- custom_fields:
|
||||
|
@ -37,3 +37,7 @@ When %r{^I change the presentation of the "([^"]*)" model by grouping items by "
|
||||
content_type.group_by_field_name = field._name
|
||||
content_type.save.should be_true
|
||||
end
|
||||
|
||||
Then /^I should not see (\d+) times the "([^"]*)" field$/ do |n, field|
|
||||
page.all(:css, "#content_#{field.underscore.downcase}_input").size.should == n
|
||||
end
|
||||
|
@ -465,8 +465,10 @@ form.formtastic fieldset ol li.has-many ul li.added span.actions button {
|
||||
form.formtastic fieldset ol li.has-many ul li.sep {
|
||||
border-top: 1px solid #ccc;
|
||||
height: 2px;
|
||||
padding: 0px;
|
||||
margin: 5px 0 7px;
|
||||
width: 433px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
form.formtastic fieldset ol li.has-many ul li.template {}
|
||||
|
Loading…
Reference in New Issue
Block a user