Skip to content

integration with existing ruby on rails app #1

Description

@FrankBechstein

Hello,

I tried to integrated your plugin into my ruby on rails applications admin interface.

<h2>Neuer Bericht</h2>

<%- form_tag 'new_blog' do -%>
<p><label for="all_blog_title">Titel:</label> <%= text_field 'all_blog', 'title' %> </p>
<p><label for="all_blog_url">Url:</label> <%= text_field 'all_blog', 'url' %> </p>
<p><label for="all_blog_seo_tag">Tags:</label> <%= text_field 'all_blog', 'seo_tag' %> </p>
<p><label for="all_blog_topic">Topic:</label> <%= text_field 'all_blog', 'topic' %> </p>
<p><label for="all_blog_inhalt">Inhalt:</label> <%= text_area 'all_blog', 'inhalt' %> </p>
<p><label for="all_blog_vorschau">Vorschau</label> <%= text_area 'all_blog', 'vorschau' %> </p>
<p><label for="all_blog_link">Link:</label> <%= text_field 'all_blog', 'link' %> </p>
<p><label for="all_blog_download_link">Download Link:</label> <%= text_field 'all_blog', 'download_link' %> </p>
  <%= text_area :post, :class => 'rich_text_editor' %>
<p><%= submit_tag 'Speichern' %></p>
<%- end -%>"

and

 class AdminController < ApplicationController
uses_yui_editor

But it doesn't semm to regonize the TextArea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions