mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-19 23:07:51 -05:00
* Add dep * Add tests around accessibility * Add examples in a few places * Try to fix screenshots * Remove redundant role * Adjust rules, colors, etc so tests pass * Update app/assets/stylesheets/overrides.scss * Wrap in label * Omit rule, which is failing with a false positive * Update index.haml * Update _blurb.html.haml
18 lines
744 B
Plaintext
18 lines
744 B
Plaintext
- if current_member.present?
|
|
.flex-column.nav-pills.layout-nav{"role" => "tablist", "aria-orientation"=>"vertical"}
|
|
/ %h2.card-title #{model} links
|
|
= link_to url_for([current_member, model]), class: 'nav-link tab' do
|
|
My #{model.model_name.human.pluralize}
|
|
= link_to model, class: 'nav-link tab' do
|
|
Everyone's #{model.model_name.human.pluralize}
|
|
- if can?(:create, model)
|
|
= link_to url_for([model, action: :new]), class: 'btn' do
|
|
Add a #{model.model_name.human}
|
|
- else
|
|
= render 'shared/signin_signup', to: "record your #{model.to_s.pluralize.downcase}"
|
|
|
|
%hr/
|
|
%p.text-center
|
|
#{ENV['GROWSTUFF_SITE_NAME']} helps you track what you're
|
|
harvesting from your home garden and see how productive it is.
|