jatwell93 / rubyproject

1 stars 1 forks source link

Nav Tabs - extract to layout / shared partial #8

Closed Mirv closed 7 years ago

Mirv commented 7 years ago

Eventually want this layout pulled from main view logic

<ul class="nav nav-tabs">
    <li class="active">
        <%= link_to "Recipes", recipes_path %>
    </li>
    <li>
        <%= link_to "Users", users_path %>
    </li>
</ul>
Mirv commented 7 years ago

Will take a poke at this Saturday(4/29) probably, should only be like 5 or 10 minute thing - will spend some time figuring what else can be pulled to make it readable ... spending a lot of time wading through the views right now.

Mirv commented 7 years ago

Quick search shows 6 pages use 'nav-tabs'



/app/views/ingredients/show.html.erb:
    8: <ul class="nav nav-tabs">

/app/views/recipes/index.html.erb:
    11: <ul class="nav nav-tabs">

/app/views/recipes/search.html.erb:
    8: <ul class="nav nav-tabs">

/app/views/styles/show.html.erb:
    8: <ul class="nav nav-tabs">

/app/views/users/index.html.erb:
    8: <ul class="nav nav-tabs">

/app/views/workouts/index.html.erb:
    9: <ul class="nav nav-tabs">

Found 6 matches in 6 files ```