Skip to content

Commit

Permalink
Add club messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ger619 committed Mar 22, 2024
1 parent 525221b commit d9a03d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/views/club/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@

</div>

<%= f.text_area :body, class: "bg-[#F7F3ED] w-[100%] p-2 border-b border-black focus:outline-none", size: "70x20" ,placeholder: "Add the details to 600 words *", required: true%>
<%= f.text_area :body, class: "tinymce bg-[#F7F3ED] w-[100%] p-2 border-b border-black focus:outline-none", size: "70x20" ,placeholder: "Add the details to 600 words *" %>
<%= tinymce %>
<%= f.submit "POST", class: "w-[300px] mt-10 mb-10 md:mb-10 md:mt-16 mx-auto p-4 bg-[#F4E721] text-3xl text-black" %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/club/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<%= club.header %>
</h1>
<p class="md:w-[500px] font-light text-xl truncate">
<%= club.body %>
<%= raw club.body %>
</p>

<div class="flex">
Expand Down

0 comments on commit d9a03d7

Please sign in to comment.