aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/erb/scaffold/templates/index.html.erb
Commit message (Collapse)AuthorAgeFilesLines
* titleizing the New LinkThiago Pinto2015-07-201-1/+1
|
* Clean up grammar in scaffold index view, by removing the word 'Listing' from ↵Adrien Lamothe2015-01-121-1/+1
| | | | list title.
* Display notice in index.html pages in scaffolded generated viewsArun Agrawal2014-07-041-0/+2
| | | | | | | | | As we are setting notice in destroy action we should display that For more information see https://github.com/rails/rails/pull/14044 And https://github.com/rails/jbuilder/pull/191 closes #14044
* Titling the model name in views generated by scaffold.Amit Suryavanshi2014-06-181-1/+1
| | | | | eg. rails g scaffold UserProfile will have in index.html.erb "Listing User Profiles" rather than Listing user_profiles.
* Use Colspan in th TagsSıtkı Bağdat2013-06-171-3/+1
| | | | | | | | | | Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it? Change repetitive th tags to use colspan attribute Update CHANGELOG.md Update CHANGELOG.md
* Unindent attributes iteration in scaffold index templateCarlos Antonio da Silva2013-04-181-2/+2
| | | | | | | | | | Otherwise we get extra indent for the <td> elements due to the extra spaces at the beginning of the lines, like this: <tr> <td><%= author.name %></td> <td><%= link_to 'Show', author %></td> <td><%= link_to 'Edit', edit_author_path(author) %></td>
* Indent around the scaffold loopDavid Heinemeier Hansson2013-04-181-8/+8
|
* HTML5 breaksDavid Heinemeier Hansson2013-04-181-1/+1
|
* Add support for generate scaffold password:digestSam Ruby2013-03-131-2/+2
| | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture
* Needless fancy structure that did not anythingDavid Heinemeier Hansson2013-01-051-1/+3
|
* Fix indention issue in generated templateDavid Heinemeier Hansson2013-01-051-2/+2
|
* Fix indention issue in generated templateDavid Heinemeier Hansson2013-01-051-2/+2
|
* Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` optionCarlos Galdino2012-07-181-1/+1
| | | | | | | | | This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag`
* Close #3886 - Add THEAD and TBODY to scaffold markuptwinturbo2012-04-291-16/+20
|
* Remove key_value helper now that master is 1.9 only and we always useRafael Mendonça França2012-03-131-1/+1
| | | | the 1.9 hash syntax in the generators.
* Use content_tag_for with array by default on scaffold.José Valim2012-01-261-4/+2
|
* for ... in => .eachAkira Matsuda2011-05-181-2/+2
| | | | I believe this is more modern way
* Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵Prem Sichanugrist2011-04-101-1/+1
| | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH.
* Change inside_namespace method to inside_template and use it in all ↵Piotr Sarnacki2010-11-161-2/+0
| | | | | | | | | | templates by default The initial implementation of namespacing was based on wrong assumptions. Namespacing path and class names in templates should be based on current namespace and skip_namespace attribute, but it should be not necessary to wrap content on all the templates into additional block methods.
* Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-031-0/+2
|
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-231-7/+7
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-0/+27
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-27/+0
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Don't need h in there now that XSS protection is on by defaultMichael Koziarski2009-10-081-1/+1
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-0/+27