Sha256: e4b1ede40ed045e3e296415374b1e001b613f465416b0e3c70d172df2b84c741

Contents?: true

Size: 787 Bytes

Versions: 3

Compression:

Stored size: 787 Bytes

Contents

<%= form_for post do |f| %>
  <%= render "/shared/error_messages", target: post %>

  <div class="form-group">
    <%= f.label :title %>
    <%= f.text_field :title, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :slug %>
    <%= f.text_field :slug, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= f.label :summary %>
    <%= f.text_area :summary, class: "form-control" %>
  </div>

  <%= render "/shared/editor_toolbar" %>

  <div class="form-group">
    <%= f.text_area :body, class: 'topic-editor form-control', input_html: { rows: 20 } %>
  </div>

  <div class="form-actions">
    <%= f.submit t("common.save"), class: "btn btn-primary", 'data-disable-with' => t("common.saving"), 'data-tb' => "save-topic" %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
homeland-press-0.4.2 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.4.1 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.4.0 app/views/homeland/press/posts/_form.html.erb