Sha256: efc4f1f1099c0028a904b5909be0629daf68261e25ef4fb8a58ae0ddf6ec8bfe

Contents?: true

Size: 537 Bytes

Versions: 8

Compression:

Stored size: 537 Bytes

Contents

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

  <%= f.input :title %>
  <%= f.input :slug %>
  <%= f.input :summary, as: :text %>

  <%= 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 col-xs-2", 'data-disable-with' => t("common.saving"), 'data-tb' => "save-topic" %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
homeland-press-0.3.4 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.3.3 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.3.2 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.3.1 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.2.1 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.2.0 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.1.1 app/views/homeland/press/posts/_form.html.erb
homeland-press-0.1.0 app/views/homeland/press/posts/_form.html.erb