Sha256: 954b4cceaa9f2fbdd258fb7cfbcd92fc3d60d4ef9b49e8610fe5e86a06b628ac
Contents?: true
Size: 380 Bytes
Versions: 17
Compression:
Stored size: 380 Bytes
Contents
<%= simple_form_for Comment.new do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :body, label: false, :input_html => { :rows => 8 } %> <%= f.hidden_field :commentable_type, value: controller_name.classify %> <%= f.hidden_field :commentable_id, value: params[:id] %> <%= f.button :submit, :class => 'btn btn-primary' %> </div> <% end %>
Version data entries
17 entries across 17 versions & 1 rubygems