<!-- Modal Structure -->
<div id="modal-post" class="modal">
    <%= form_tag user_posts_path(current_user), method: :post do %>
    <div class="modal-content">
        <h4>Create a new post</h4>
        <div class="row">
            <div class="col s12 input-field">
                <%= label_tag :text, "Write a something: " %>
                <%= text_area_tag :text, nil, class: "materialize-textarea" %>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <%= submit_tag "Create Post", class: "modal-action modal-close waves-effect waves-green btn-flat" %>
        <a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Cancel</a>
    </div>
    <% end %>
</div>

<!-- Modal Structure -->
<div id="modal-post" class="modal">
    <%= form_tag user_posts_path(current_user), method: :post do %>
    <div class="modal-content form-color">
        <h4>Create a new post</h4>
        <div class="row">
            <div class="col s12 input-field">
                <%= label_tag :text, "Write a something: " %>
                <%= text_area_tag :text, nil, class: "materialize-textarea" %>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <%= submit_tag "Create Post", class: "modal-action modal-close waves-effect waves-green btn-flat" %>
        <a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Cancel</a>
    </div>
    <% end %>
</div>

Add color theme to inputs and labels forms
Add color theme to inputs and labels forms

