Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="calendar">
- <p>
- <%= @calendar.year %>
- </p>
- <table border>
- <tr>
- <td>
- <% for month in @calendar.months %>
- <p>
- <%= link_to month.name.first %>
- <% for count in month.weeks_of_month %>
- <p>
- <%= count.week.join(" ") %>
- </p>
- <% end %>
- </p>
- <% end %>
- </td>
- </tr>
- </table>
- </div>
Add Comment
Please, Sign In to add comment