Sha256: a394f2781a9cc297bd7fe99368359853f289442d192a12ba9d8792c3b8e66c4b
Contents?: true
Size: 709 Bytes
Versions: 15
Compression:
Stored size: 709 Bytes
Contents
= f.text_field :title - if f.object.persisted? || f.object.errors.include?(:slug) - current_url = (effective_committees.committee_url(f.object) rescue nil) = f.text_field :slug, hint: "The slug controls this committee's internet address. Be careful, changing the slug will break links that other websites may have to the old address.<br>#{('This committee is currently reachable via ' + link_to(current_url.gsub(f.object.slug, '<strong>' + f.object.slug + '</strong>').html_safe, current_url)) if current_url }".html_safe - if defined?(EffectiveArticleEditor) = f.article_editor :body, hint: 'Displayed on the committee page' - else = f.rich_text_area :body, hint: 'Displayed on the committee page'
Version data entries
15 entries across 15 versions & 1 rubygems