Commit Graph

15 Commits

Author SHA1 Message Date
Brenda Wallace
7a44e9499d More markup updates to fit specs 2018-10-08 14:18:19 +13:00
Brenda Wallace
6478d9cb1b Haml clean up for crops views 2017-02-06 10:31:45 +13:00
Skud
1dfac3fb2f Improving crop request form 2015-02-17 20:44:24 +11:00
Taylor Griffin
1099e4c9fe update copy for new / edit crop form 2015-02-06 07:34:01 +11:00
martyhines
098595721b Added crop creator to crop edit form 2013-08-20 21:46:22 -04:00
Skud
302a32c768 that can? check was superflous; controller does it for us. 2013-02-01 22:03:05 +11:00
Skud
87f14247e0 modified views to use CanCan 2013-02-01 13:24:32 +11:00
Skud
edb59e07ee s/users/members/g -- all tests pass
There's still probably stuff broken, but this seemed like a good spot to
commit.  Sorry for the enormous chunk of code.  I was attempting to
update the views, but found that I needed to update a few things
elsewhere as well to make them work.
2013-01-13 18:33:43 +11:00
Skud
cd72350e9e refactor: remove unneeded %div in HAML 2012-12-02 11:59:31 +11:00
Skud
760cf03b2c Fixed tests by getting rid of valid_session 2012-11-26 19:04:43 +11:00
Skud
dc00e06bad Added tests for logged-in-ness in a few other places.
Turned actions ("add new", "edit', etc) into buttons using Zurb CSS.
2012-10-02 22:41:36 +01:00
Skud
aa0ff3869e Need to be logged in to edit crops. 2012-10-02 22:15:56 +01:00
Miles Gould
622ddf620a Refactor h2s into content_for :title
Now the alert and notice are shown below the subtitle, and the browser
title bar tells you something useful.
2012-10-02 11:32:56 +01:00
Miles Gould
b85354f099 Prettify views for crops. 2012-10-02 11:32:56 +01:00
Miles Gould
1d9c1b14fc Generate scaffold for Crops; refactor tests
Add link to Crops page from index
Refactored index/application tests to better reflect where things are.
2012-10-02 11:32:56 +01:00